Visual Studio

In Visual Studio 2010 the default functionality meant that when you made a file Active, it was automatically selected in the Solution Explorer tree (but only if the containing folder was open). In Visual Studio 2015, this functionality is turned off by default. Instead, you can also do it on a per file basis using the ‘Sync with Active Document’ button at the top of the Solution tree or by pressing Ctrl+[ followed by S. However, if you like this to always occur, you need to turn it on in the options ......
My Dad always told me ‘You should learn something new every day’, and today I managed it with my newly found ability to perform an incremental search within Visual Studio using the Ctrl-I key stroke. For the previous 20 years or so, I have been restricted to using Ctrl-F3 to add a highlighted word to the find buffer, followed by F3 to find the next occurrence and Shift-F3 to find the previous occurrence. But now I can press Ctrl-I and start to type and all occurrences of what I type get highlight ......
Sometimes you just can’t figure out why stuff isn’t working as expected in your C# code due to odd things occurring within the .Net framework. So the first point of call might be to use a decompiler tool such as JetBrains dotPeek (free). Often this will help you to realize you are making the wrong call or the wrong sequence of calls due to subtleties of .Net. However, sometimes this just will not shed the required amount of light of the issue at hand, so you think ‘If only I could step through the ......
After a frustrating waste of time I finally worked out how to Uninstall NuGet Package Manager from Visual Studio. Usually I would just expect to run Tools->Extension Manager, then select the item from the list and click Uninstall, but the NuGet Package Manager Uninstall button was disabled. I then checked Control Panel->Uninstall a Program, but there was no entry for the Visual Studio extension (I didn’t think there would be as they are managed within VS). Finally, I had a brainwave, maybe ......
Microsoft Visual Studio sometimes crashes when the .sln solution file gets out of sync with the hidden .suo file. The .suo file stores information such as the active project and is automatically created by Visual Studio.To fix this issue, try deleting the .suo file. Visual Studio will just create a new one for you and the solution should open up correctly.If you can't see the .suo file, check your hidden file settings in explorer:Tools->Folder Options...->View->Hidden files and folders->Show ......