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
68
votes
2 answers

How to upgrade from VS 2017 to 2019?

VS 2019 is RTM, and I was wondering what's the proper way to upgrade from VS 2017, is there a dedicated 'upgrade' method, or is it uninstall and install? Maybe install and uninstall? What's the right way to do it without having to uninstall and…
65
votes
5 answers

The 'CascadePackage' package did not load correctly

I just did an update to VS2019(16.9.0) and now I get this message. (actually on two machines). A restart does not resolve the problem. What is the CascadePackage? Can I just say No to dialogue box and be OK? Also...the file it mentions to…
Chris Catignani
  • 5,040
  • 16
  • 42
  • 49
61
votes
12 answers

How do I find files that are missing from visual studio projects?

Due to issues with merging etc, we have lots of project files that don’t contain all source code files that are within their folders. Before I write a little tool, that checks that every *.cs file is included in a project file, I wish to make sure…
59
votes
23 answers

node-gyp configure got "gyp ERR! find VS"

I am trying to start about node c/c++ add-on. the node-gyp command got error I have installed vs2019, my command is node-gyp configure --msvs_version=2019 the verbose output is gyp info it worked if it ends with ok gyp info using node-gyp@5.0.3 gyp…
Seact
  • 711
  • 1
  • 5
  • 10
58
votes
2 answers

VS Info Message: "Package restore on project open is disabled. Change the npm package management settings in Project Properties ..."

VS 2019 throws this info message: "Package restore on project open is disabled. Change the npm package management settings in Project Properties to enable restore on project open." But I can't find any specific checkbox or "npm properties tab" in…
Roman Pokrovskij
  • 9,449
  • 21
  • 87
  • 142
54
votes
6 answers

Installation of AnkhSVN Visual Studio 2019

I can not Install AnkhSVN -Subversion Support for Visual Studio 2019, I have tried to Install It, It says Version is Invalid for VS2019 I use VS2019 Professional
53
votes
10 answers

The current .NET SDK does not support targeting .NET 6.0. Either target .NET 5.0 or lower, or use a version of the .NET SDK that supports .NET 6.0

I know this is a duplicate question. But I have tried every mentioned solution and didn't get resolved. I have a dotnet c# application. when I run the application I got the below-mentioned error The current .NET SDK does not support targeting .NET…
jithu
  • 1,867
  • 1
  • 7
  • 16
52
votes
4 answers

How to disable Edit Project when double click on Visual Studio 2019?

On Visual Studio 2019 When I double click or even focus on project, it open Edit project For previous version, It just only expand the project structure How to disable this feature ?
phuongnd
  • 1,229
  • 15
  • 33
52
votes
5 answers

How to remove the Live Share button?

I've installed Visual Studio 2019 and the first thing that annoys me is the large black, empty space on top of the screen after removing all my toolbars. The 'Live Share' and 'Feedback' button don't show up as toolbars though. Is there a way to…
Carra
  • 17,808
  • 7
  • 62
  • 75
52
votes
4 answers

ESLint support Visual studio 2017

ESlint static intellisense doesn't seem to be supported in Visual Studio 2017 which makes coding in .js files a complete pain as I have to run the CMD eslint command to get any linting errors. In VSCode I can just use the ESLint extension. What…
51
votes
9 answers

In Visual Studio 2019 how can I remove unused usings on format document?

In Visual Studio 2019 how can I remove unused usings on format document? I have found instructions for previous versions of Visual Studio (Go to Tools > Options > Text Editor > C# > Code Style > Formatting.). I don't see that in Visual Studio 2019.
Anthony
  • 1,667
  • 2
  • 17
  • 28
49
votes
11 answers

Visual Studio 2019 release. High CPU usage

I have got brand new installation of VS2019 Community (release version) beside VS2017. When i load project to work on there is constantly about 30% of CPU is using on idle. Project is completely loaded, analyzed and running on IIS Express. Project…
Sam Alekseev
  • 2,281
  • 2
  • 19
  • 28
48
votes
20 answers

Unable to connect to web server 'IIS Express'

I am using Microsoft Visual Studio 2019 Community preview, version 16.4.0 Preview 1.0. I just update to Windows 10 Pro Version 1903 OS build 18362.418 . With ASP.NET Core 3 web-app project (Blazor Server), When I press F5, I catch error I can go to…
Vy Do
  • 46,709
  • 59
  • 215
  • 313
46
votes
18 answers

Visual studio 2019 "Error encountered while pushing to the remote repository: Failed to push to the remote repository..."

In Visual Studio 2019 I have "Unpushed Commits" as seen below: When I try to push them I get the error and this is what it looks like on the GUI: note: the yellow label with "Failed to push..." is not clickable. The Output from Source Control -…
Sniipe
  • 1,116
  • 3
  • 13
  • 28
45
votes
3 answers

Visual Studio 2019 Diagnostic Tools always say "There is no data in the current set of filters"

The diagnostic tools in Visual Studio 2019 Community have stopped working. It shows it's recording the CPU profile but whenever I pause the program to see the results, the tools say "There is no data in the current set of filters." It was working at…
EVG Labs
  • 603
  • 5
  • 9