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

Visual Studio 2019 does not recognize tsconfig.json

I just installed Visual Studio 2019 and tried it with my current solution. It seems like it ignores the tsconfig.json file, while it worked in VS 2017. In Visual Studio 2017 in project properties: TypeScript Build, it shows: One or more…
Tigerware
  • 3,196
  • 2
  • 23
  • 39
16
votes
0 answers

msix and multiple target frameworks not working

I have wpf project with multiple target frameworks netcoreapp3.0;net48 In vs2019 I created Windows Application Packaging Project (MSIX package) and add reference to my project. But when I trying to build…
Aries
  • 433
  • 7
  • 17
16
votes
2 answers

Test detail summary font size too large in Visual Studio 2019

Since upgrading from VS2017 to VS2019 I have noticed that the text in test detail summary windows is comically large making it hard to read test results without a great deal of scrolling. This persists in the latest 16.3.1 version. I assume (and…
Steve Crane
  • 4,340
  • 5
  • 40
  • 63
16
votes
14 answers

"There was an error running the selected code generator: 'The value -1 outside the acceptable range of [0,2147483647]. Parameter name :value''"

I am working on an ASP.NET MVC project and so far I had no problems with scaffolding any type of items until now. Every time I want to create a new controller or view, I get the following error message: There was an error running the selected code…
Superhdninja
  • 179
  • 1
  • 1
  • 7
16
votes
3 answers

When I try to apply a certain git stash in VS2019, I get an error saying there are uncommitted changes (there aren't) and only one file is applied

Git operation failed because there are uncommitted changes. Commit or undo your changes before retrying. See the Output window for details. However there are no uncommitted changes. One file that was added is restored from the stash, but that's it…
ekolis
  • 6,270
  • 12
  • 50
  • 101
16
votes
8 answers

Visual Studio 2019 - Incompatible The application which this project type is based on was not found

After installing Visual Studio 2019 (previously I had 2017), some Web projects appear as "Incompatible" The application which this project type is based on was not found. It still works on 2017 but I haven been able to figure out why I am…
Dalorzo
  • 19,834
  • 7
  • 55
  • 102
16
votes
8 answers

GIT Fatal error: Authentication failed in Visual Studio

As of today I'm getting errors when trying to use git commands with my repository in Azure-DevOps. The repositories sit in a project on DevOps that I can access with the same account and shows no sign of any recent changes to it. The steps I can…
NotFound
  • 5,005
  • 2
  • 13
  • 33
15
votes
1 answer

Develop against folder in WSL in Visual Studio 2019

I've tried to find any information on this, but failed. Is it possible to use Visual Studio 2019 to develop against a folder on WSL? I know that it's possible with VS Code and the remote WSL extension, but I really prefer working in Visual Studio. I…
Joel
  • 8,502
  • 11
  • 66
  • 115
15
votes
3 answers

How to disable git source control on visual studio 2019?

The "Git for Windows (32 bit)" process makes Visual Studio 2019's CPU usage high which bugs me because I have multiple programs open at a time, so my PC lags. I've looked up on how to disable git on Visual Studio 2019, Tried the solutions on this…
BidoTeima
  • 490
  • 1
  • 4
  • 13
15
votes
3 answers

"Keep Tabs" setting not working in Visual Studio 2019

I've been having a problem in Visual Studio 2019 where the program enters tabs as four spaces. This is annoying, since I have to hit backspace 4 times to erase an indent, and I need to use arrow keys 4 times to navigate an indent. This used to work…
Sanford Bassett
  • 328
  • 2
  • 11
15
votes
3 answers

Visual Studio 2019 Test Explorer puts all tests under "Not Run Tests"

I have a ASP.Net Core 3 project with Visual Studio Professional 19.4.1 with xUnit 2.4.0. I have a couple of tests written there. My problem is that Visual Studio shows all the tests in this project always under "Not Run Tests". The same tests run…
Abhi
  • 1,624
  • 2
  • 16
  • 29
15
votes
2 answers

Visual Studio 2019: Error pop-up appears: "To prevent an unsafe abort when evaluating the function..."

I am facing an issue with Visual Studio 2019 (version 16.3.8), when starting an ASP.NET Core 3 WebApi project. After clicking OK the project starts and runs without any issue. However the pop-up keeps nagging me every time I start my solution. How…
Matthias Güntert
  • 4,013
  • 6
  • 41
  • 89
15
votes
6 answers

Javascript breakpoint not work in Visual Studio 2019 asp.net application

I recently upgraded from VS 2017 to VS 2019. In VS 2017, when running an asp.net application locally, using Chrome, I could put a breakpoint in javascript code and the debugger would stop on the breakpoint. This no longer works in Visual Studio…
15
votes
2 answers

No Dockerfile could be found. Please make sure you have a Dockerfile called 'Dockerfile' adjacent to the project file

I have moved the docker file from *.csproj folder to .sln folder i.e., one level up. When I try to docker build using visual studio 2019, I get bellow error but same project docker build works from command prompt. Not sure what is causing visual…
alphacoder
  • 553
  • 2
  • 9
  • 21
15
votes
1 answer

ASP.NET Core with React template returns index.html

I am learning full-stack web development with .NET Core and React, so I created an ASP.NET Core Web Application project with React template in Visual Studio 2019. At some point I noticed that if I request a non-existing URL, I don’t get an error or…