VS 2015 IntelliSense: Assembly Not Referenced Error

I had the same issue, but in the mean time I’ve found the answer: I had to add the following references to my web.config (add inside the opening system.web tag): <compilation debug=”true” targetFramework=”4.5″> <assemblies> <add assembly=”System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″/> <add assembly=”System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″/> <add assembly=”Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”/> <add assembly=”System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” /> … Read more

VS 2015 Razor Autocomplete/Intellisense dropdown hides immediately after dropdown

I haven’t found the root cause, but in all cases, CTRL+SPACE works. This isn’t the best, but light years better than nothing at all. (this shortcut is not one I’ve used in the past, so this is likely standard behavior, but…) If you’re at the dot Model. and autocomplete list disappears, CTRL+SPACE consistently brings it … Read more

Xcode project CMD-Click on symbol to ‘Jump to Definition’ does not work

Try this: Open the organizer. Close your project in Xcode (leaving Xcode and the organizer running). In the organizer, in projects, click on the Delete button next to Derived Data. Quit Xcode. Find your Xcode project via the finder. Rightclick and “Show Package Contents”. Delete project.xcworkspace and xcuserdata folder. Open up Xcode again and see … Read more

How can I define macros for the C++ intellisense engine?

Project makefile defines are set in .vscode/c_cpp_properties.json. “configurations”: [ { … “defines”:[ “MYSYMBOL”, “MYVALUE=1” ] } ], … Here are some methods to open c_cpp_properties.json: Find a green squiggle on something like an include statement that Intellisense can’t resolve. Hover around and click the lightbulb that appears (which is tiny and a bit of a … Read more

Need razor view engine auto-complete to work in a class library?

The webconfig from this post will work. I’ve copied it below (for posterity): <?xml version=”1.0″?> <configuration> <configSections> <sectionGroup name=”system.web.webPages.razor” type=”System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35″> <section name=”host” type=”System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35″ requirePermission=”false” /> <section name=”pages” type=”System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35″ requirePermission=”false” /> </sectionGroup> </configSections> <system.web.webPages.razor> <host factoryType=”System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35″ /> <pages pageBaseType=”System.Web.Mvc.WebViewPage”> <namespaces> … Read more

Hiding namespaces containing only internal types in a class library?

It depends on how you’re referencing your class library: If you have the class library project contained within your solution and use a project reference, you’ll always see that empty namespace via Intellisense. If you’re referencing a compiled dll of your class library, you won’t see the namespace popping up in intellisense, provided it contains … Read more

MVC Razor view Intellisense broken in VS 2013/2015/2017

I considered editing @ChrisMoschini’s post, but thought it was different enough. My issue was that I started a new MVC5 application, and blindly copied over too many web.config settings from an old MVC3 project I wanted to use as a template/starting point. Doing this caused me to have some invalid versions referenced in my web.config. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)