This needs to be done as well sometimes:
Tools > Options > Projects and Solutions > Web Projects, uncheck “Stop debugger when browser window is closed”
Source: Client-side debugging of ASP.NET projects in Google Chrome | .NET Web Development and Tools Blog
I first found this:
which focused on a TypeScript related problem and didnt help my issue.
I have ReSharper installed, enabling the settings below solved my issue:
To toggle ReSharper syntax highlighting Open the Code Inspection | Settings page of ReSharper options. Use the Color Identifiers check box to enable or disable ReSharper syntax highlighting. Click Save to apply the modifications and let ReSharper choose where to save them, or save the modifications to a specific settings layer using the Save To drop-down list. For more information, see managing and sharing resharper settings.
Source: Syntax Highlighting – Help | ReSharper
This lightweight extension lets you display the full path of the file at bottom of Visual Studio’s Editor. Click Ctrl+Click to Open Containing Folder, Right click to Copy Full Path.
Source: File Path On Footer – Visual Studio Marketplace
The easiest way to diff two files directly in solution explorer
Source: File Differ – Visual Studio Marketplace
For me the problem was connected to ReSharper which already implements this function. Solution was to disable the VS 2017 functionality for ctrl+click. (prefer the ReSharper way with built in decompiling)
Goto options -> Text Editor -> General -> uncheck “Enable mouse click…”
Disable the default vs2017 setting.
I got this message ‘fatal: unable to access ‘\/.config/git/config’: Invalid argument’ when opening a GIT based solution in VS 2017.
Solution was to add an environment variable “HOME” with value “c:\” (c: or where your project folder resides).
Solution info here:
Source: I get ‘fatal: unable to access ‘\/.config/git/config’: Invalid argument’ when running VS 2017 as a user on a different domain from local windows user – Developer Community
Addon for visual studio 2017, lets you preview config file transformations.
New command in right click menu in solution explorer.
Source: ConfigTransformation – Visual Studio Marketplace
I was recently on a conference and spotted this nice code font:
which makes use of “ligatures” that takes common programming characters and make them more readable.
Such as >= ++ != and presents them in a more condensed and more readable way.
Read more here:
Read and understand code faster with programming ligatures in Fira Code font | Making Visual Studio perfect
To use in Visual Studio 2017, download from:
Unzip ttf folder select all fonts, right click menu and install.
Open/Restart VS2017 -> Options -> Environment -> Fonts and colors -> Select “Fira Code” as font.
Fira Code on github:
Scott Hanselman on Monospaced Programming Fonts with Ligatures:
Great tool for attaching VS 2017 debug to IIS for instance.
It will add some menu options under the Tools menu.
After installing this addon its possible set a keyboard shortcut by searching for “tools.attach” in the VS keyboard shortcut window.
Source: Attach To All The Things – Visual Studio Marketplace