“Value does not fall within the expected range” when trying to add a reference in a project

I did a ‘devenv /setup’ and that fixed it. Detail Exit Visual Studio Click Start Type cmd, right click Command Prompt and select Run as administrator Navigate to the appropriate Visual Studio folder VS2012: pushd %programfiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE VS2015: pushd %programfiles(x86)%\Microsoft Visual Studio 14.0\Common7\IDE VS2017: pushd %programfiles(x86)%\Microsoft Visual Studio\2017\<Edition>\Common7\IDE VS2019: pushd %programfiles(x86)%\Microsoft Visual Studio\2019\<Edition>\Common7\IDE … Read more

How can I view Markdown text inside Visual Studio? [closed]

The accepted answer is five years old, and the respective extension supports only up to Visual Studio 2015. Today, for Visual Studio 2019 and below, I would recommend Markdown Editor by Mads Kristensen. It has over 400K installs, supports GitHub and other flavors, live preview window, automatic HTML file generation, and much more. Works with … Read more

How do I refresh branches (local/remote) in Visual Studio when using Git?

If the branch has been deleted on the server side, try in command line (since such a “button” doesn’t seem to exist directly in Visual Studio): git remote prune origin –dry-run (remove the –dry-run option to actually delete the local branches) Delete the corresponding local branch as well git branch -d aBranch. Then restart your … Read more

ASP.NET Core 3.0 not showing on Visual Studio 2019

There is an option in Tools -> Options that enables preview versions of the .NET Core SDK. In the VS Preview shipping channel, it is on (by default, and not settable). In the VS Release channel, it defaults to off and you can opt-in. (Note: it’s disabled in the screenshot because I have a Preview … Read more

Force uninstall of Visual Studio

I was running in to the same issue, but have just managed a full uninstall by means of trusty old CMD: D:\vs_ultimate.exe /uninstall /force Where D: is the location of your installation media (mounted iso, etc). You could also pass /passive (no user input required – just progress displayed) or /quiet to the above command … Read more

Visual Studio Run As Admin from Recent solutions list

Close all instances of Visual Studio Right click on the Visual Studio icon in your task bar Right click on Visual Studio and click Properties Click open File Location button Right-click devenv.exe file in that folder appears Select Troubleshoot compatibility Select Troubleshoot program Select The program requires additional permissions Click Test the program and wait … Read more