Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
Category: Visual Studio
Visual Studio 2019 – Introducing the .NET Hot Reload experience for editing code at runtime
With Hot Reload you can now modify your apps managed source code while the application is running, without the need to manually pause or hit a breakpoint. Simply make a supported change while your app is running and in our new Visual Studio experience use the “apply code changes” button to apply your edits.
Source: Introducing the .NET Hot Reload experience for editing code at runtime | .NET Blog
git – Having problems cloning a Azure DevOps repository in Visual Studio 2019 Community – Stack Overflow
Clearing the cached credentials from Credential Manager. And then try again.Go to Credential Manager–> Windows Credentials–> Generic Credentials–>Remove all Git related credentials.
Visual Studio Comparison Tools – Visual Studio Marketplace
Visual Studio Comparison Tools is an extension for Visual Studio which uses external tools to compare files, folders and clipboard. Features: Comparing two files, selecting folders for comparison from the solution explorer and comparing (and merging) clipboard to a file or selected area in a file. By default uses Beyond Compare if found, then WinMerge (http://winmerge.org/) and if neither is found uses VSDiff to compare files. Tested to work with Beyond Compare 3 and 4.
Source: Visual Studio Comparison Tools – Visual Studio Marketplace
Make Visual Studio opening XSDs in XML editor mode
Right click on an XSD file, choose “Open with…” and select the appropriate option – then click on “Set as Default” before you actually open it.
Source: Stop Visual Studio 2010 opening XSDs in design mode – Stack Overflow
Whack Whack Terminal – Visual Studio Marketplace
Terminal emulator for Visual Studio.
Allows you to run command prompt, powershell, WSL bash, Git bash.
All including interactive mode.
To use GIT bash as terminal go to options -> whack whack terminal:
Defalt Shell: Other
Shell Path: C:\Users\[mysusername]\AppData\Local\Programs\Git\bin\bash.exe
(or similar path to bash.exe)
marketplace.visualstudio.com/items?itemName=dos-cafe.WhackWhackTerminal
Whack Whack Terminal – Visual Studio Marketplace
Terminal inside Visual Studio.
marketplace.visualstudio.com/items?itemName=DanielGriffen.WhackWhackTerminal
Mouse Navigation – Visual Studio Marketplace
Add support for mouse navigation buttons (back and forward).
This is an extremely simple and lightweight extension that adds support for using the back/forward buttons on the mouse for navigating back/forward in code. Pressing these buttons simply executes the Navigate Backward (default Ctrl+-) or Navigate Forward (default Ctrl+Shift+-) as appropriate.
Visual Studio – What’s New in Visual Studio 2019
Nuget package handling – Using package.config instead of new PackageReference in csproj Visual Studio 2017
In Visual Studio 2017 and with .NET Core projects a new way of referencing nuget packages was introduced. Somehow during a .NET project upgrade one of the nuget packages were converted into a PackageReference (referenced in the csproj file and not from package.config). Below are the steps to convert such package reference back into plain old package.config behaviour:
In addition to removing the PackageReferences from the project file, I also had to remove the following files from the $ProjectDir\obj directory: Myproject.csproj.nuget.cache Myproject.csproj.nuget.g.props Myproject.csproj.nuget.g.targets project.assets.json