Visual Studio 2015 error “Object reference not set to an instance of an object”

This fixed my razor intellisense problem and the error after installing the latest ASP.NET tools.

Here is how to fix it.

Delete the contents from the following folders:
C:\Users{user}\AppData\Local\Microsoft\VisualStudio
C:\Users{user}\AppData\Local\Microsoft\VSCommon

Navigate to the command line now and run devenv from either of these paths:
[x64] C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
[x86] C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE

run devenv /resetuserdata from the command prompt.

Thanks to fka for the steps!

https://stackoverflow.com/questions/34084003/visual-studio-2015-error-object-reference-not-set-to-an-instance-of-an-object/34085345#34085345

Happy Coding!

Intellisense – Crap Option, found the darn fix

So, the Intellisense option that was driving me nuts has a resolution. I was looking at my toolbar and I saw a strange icon glowing. I hovered over it and what did I see? “Toggle between suggestion and standard completion mode”.

What a completely useless and crappy feature. It has been driving me absolutely nuts for days. Expletives flying, etc.

Anyway, I must have turned it on looking for a key command. CTRL + ALT + SPACE activates, in case you want to turn something on that makes you want to stab yourself in the eye. Go ahead, makes for an interesting day. Reminiscent of the old IDE days where you basically had notepad to code in, but much worse.

Crap feature that is, well, crap.

Happy Coding!

Visual Studio 2010 – Intellisense nonsense

I started getting really annoyed with the Intellisense in VS 2010. It doesn’t automatically highlight the best match for what I am typing. It seems to loosely highlight it, but hitting enter or . doesn’t act upon it.

Well, I figured out how to make it work, but requires a small change in workflow. Hit TAB. Start typing, and when the box highlights AROUND, because it doesn’t seem to select it, hit the TAB key.

Easy solution to an annoying feature. I switch between 2008 and 2010 so much I can’t remember if 2010 has always been this way, or I pissed it off.

Annoying Intellisense irritating me

Happy Coding!