Questions tagged [visual-studio-2019]

Visual Studio 2019 is a version of Microsoft's Visual Studio. Do not use this tag unless you have a specific question about this specific version.

Visual Studio 2019 is a version of Microsoft's Visual Studio. Do not use this tag unless you have a specific question about Visual Studio 2019. Visual Studio 2019 was released to market (RTM) on April 2nd 2019.

Some Major Changes and Improvements

  • Improved IntelliSense performance for C++ files
  • Local development with many common emulators
  • Simplified test access in Solution Explorer
  • Git management and repo creation in the IDE

New Features

  • One-click code clean-up (Resolve warnings and suggestions with the click of a button.)
  • Visual Studio IntelliCode (Get AI-assisted recommendations that learn from the community.)
  • Visual Studio Live Share (Share code using real-time collaborative development.)

Release notes can be found at the official Microsoft page.

7653 questions
219
votes
2 answers

How can I install the VS2017 version of msbuild on a build server without installing the IDE?

Historically, this has been done with the Microsoft Build Tools. But it seems that the Build Tools may not be available for versions after 2015. The replacement appears to be the Visual Studio build tools, which doesn't seem to have a real homepage…
205
votes
10 answers

Can I record/play macros in Visual Studio 2012/2013/2015/2017/2019?

Apparently macros were dropped from Visual Studio 2012. Is there a plugin/extension/tool that will let me record & play keyboard macros (much like the record/play temporary macro in Visual Studio 2010)? For example, I typically would use a macro…
204
votes
24 answers

What do Yellow Warning Triangles mean on Dependencies in Visual Studio 2017?

I have just converted my PCL library to a new .Net Standard library and I have some Yellow Warning triangles on my Dependencies shown below: During the conversion it brought all nuget packages across including dependencies so it could be…
JKennedy
  • 18,150
  • 17
  • 114
  • 198
192
votes
9 answers

Disabling highlighting of current line in the Visual Studio editor

The Visual Studio editor highlights the current line by changing the background color of the current line. Is there a simple way to disable this highlighting? Otherwise, which parameter in Fonts and Colors dialog controls the background color of…
175
votes
9 answers

How can I run NUnit tests in Visual Studio 2017?

I've just installed Visual Studio 2017. I have a project using NUnit for the test cases. Ctrl + R - T no longer runs the tests, and the Test Explorer no longer finds any test cases marked with the TestCase attribute. Is there a way to get NUnit…
user2286552
141
votes
6 answers

How to enable Nullable Reference Types feature of C# 8.0 for the whole project

According to the C# 8 announcement video the "nullable reference types" feature can be enabled for the whole project. But how to enable it for the project? I did not find any new appropriate option in the Project Properties window in Visual Studio…
133
votes
5 answers

Where is NuGet.Config file located in Visual Studio project?

I am wondering where is NuGet.Config file located in Visual Studio 2017 project? I tried to create my own NuGet.Config file in the root of the project, but I didn't find any new repositories (NuGet sources). Does some one have any idea? Here is the…
126
votes
6 answers

Is there a way to zoom the Visual Studio text editor with a keyboard shortcut?

Yesterday I found myself needing to zoom my Visual Studio text editor and was without a mouse (don't ask). Typically I do this by holding down CTRL and scrolling the mouse wheel. I also couldn't figure out how to tab into the area where you can…
105
votes
2 answers

Visual Studio Run As Admin from Recent solutions list

I would like to run Visual Studio 2017/2019/2022 as admin when I select a project from the recent list in the taskbar, ie. when opening a project via Explorer/Shell shortcuts. I did use the setting: properties -> shortcut -> advanced -> run as admin…
Paul0515
  • 23,515
  • 9
  • 32
  • 47
104
votes
6 answers

Force uninstall of Visual Studio

While uninstalling Microsoft Visual Studio Ultimate 2015 Preview, it throws an error quoting "Microsoft Visual Studio Ultimate 2015 Preview has stopped working" Message Content Include: A problem caused the program to stop working correctly.…
89
votes
5 answers

Visual Studio 2017 & 2019 highlight occurrences of selected word in scrollbar

When I mark a word (of any kind) I would like all occurrences (in that particular file) of that word to be highlighted in the scrollbar on the right hand side. This was a feature in VS2015 and VS2013. I cannot imagine that they removed it, I just…
ToFo
  • 1,643
  • 1
  • 19
  • 34
88
votes
6 answers

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

Update Upgrading to Visual Studio 2019 16.8.X has a new git workflow. This also includes a fetch button. Summary I am learning how to use Git with Visual Studio. I recently did a pull request where the feature branch was deleted after the merge. …
JabberwockyDecompiler
  • 3,318
  • 2
  • 42
  • 54
86
votes
18 answers

ASP.NET Core 3.0 not showing on Visual Studio 2019

I want to test the new Blazor server-side framework (aka Razor Components). I installed Visual Studio 2019 RC, and then the .Net Core 3.0 preview 2, following this official tutorial. After the install, I only see the ASP.NET Core 2.0 and the 2.1 on…
85
votes
32 answers

The target process exited without raising CoreCLR started event error with .NET Core 2.2

I want to debug an empty WebApi Project based on .NET Core 2.2. I installed the "Core 2.2 SDK x86" and changed the target framework to 2.2: netcoreapp2.2
72
votes
16 answers

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

Suddenly I am getting this error "Value does not fall within the expected range" whenever I try to add a reference to any project. This also happens with a new blank project. It can list the current references fine. I rebooted the computer. I am not…
Tony_Henrich
  • 42,411
  • 75
  • 239
  • 374
1
2 3
99 100