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
43
votes
22 answers

TimeoutException: The Angular CLI process did not start listening for requests within the timeout period of 0 seconds

I'm getting this error after upgrading to angular 9. I'm using visual studio 2019, ASP .NET core with angular. Even if I create new project and update angular to 9 version, It stops working. Complete list of page response is : TimeoutException:…
Khizar Murad
  • 621
  • 2
  • 7
  • 15
41
votes
6 answers

How to fix: Add a reference to ".NETFramework,Version=v4.7.1" in the "TargetFrameworks" property of your project file and then re-run NuGet restore?

And yes, I have tried all similar QAs and nothing helped. What I have tried, none helped: Delete bin/ & obj/ Delete project.assets.json Delete .vs/ Reset entire git repo Clean nuget caches Change .NetFramework version What I know: This happened…
watbywbarif
  • 6,487
  • 8
  • 50
  • 64
41
votes
6 answers

.NET SDK's Not Installing Correctly

I am getting an issue with installing the .NET SDK, at first when I went into visual studio 2019 it said that I was missing the dotnet runtime sdk so I installed it like it asked and restarted my computer. I then went on to visual studio 2019 again,…
user12624402
41
votes
8 answers

How to keep Visual Studio or Docker from changing the host port numbers?

I have dockerized my web application and can run it within Visual Studio, however, the host port number it chooses to use is not consistent. Where do I configure it to always use the same port numbers?
adam0101
  • 29,096
  • 21
  • 96
  • 174
41
votes
3 answers

Re-enable title bar in Visual Studio 2019

I've downloaded the preview version of Visual Studio 2019 and the title bar is disabled by default. This doesn't work for me as I currently develop C# applications using multiple instances of visual studio at a time, and I like knowing what window…
Jay
  • 9,561
  • 7
  • 51
  • 72
38
votes
6 answers

How to stop backgrounddownload exe

As per attached screen shot BackgroundDownload.exe is running in background and consuming lots of internet data. How it can be stopped?
ramya
  • 2,350
  • 6
  • 31
  • 57
38
votes
7 answers

How to download Visual Studio Community Edition 2017 (not 2019)

I installed the new Visual Studio 2019, but it is much slower (at least in my machine) than the 2017 version, and working is getting very frustrating. I want to get back but I can't find where to download the previous version. I tried using this…
cesarmart
  • 759
  • 1
  • 7
  • 10
37
votes
1 answer

Unable to bind to http://localhost:5000 on the IPv6 loopback interface: 'Cannot assign requested address'

I am using asp.net core 3.1 docker enabled project template (VS2019) to develop a web API. There are no compilation errors. While running the project, in the output window of the VS2019 I see the following message: Unable to bind to…
santosh kumar patro
  • 7,231
  • 22
  • 71
  • 143
37
votes
4 answers

After updated Visual Studio 2019 to 16.4.0 I can't run tests with target framework 2.2

I have updated Visual studio 2019 to version 16.4.0. This version includes .NET Core SDK 3.1.100. After that, I have tried to run some Unit Tests that I have on a project with Target Framework 2.2 but it's not being able to do so. It gives the…
Sebastian Inones
  • 1,561
  • 1
  • 19
  • 32
36
votes
7 answers

Checking for any code updates Visual Studio 2019 and 2022

Sometimes (often) I am getting the message Checking for any code updates during debugging: This makes productivity down. I did some research and find a post on the Visual Studio community:…
Dilshod K
  • 2,924
  • 1
  • 13
  • 46
36
votes
11 answers

Latest Update brings Github error on pull, push, or sync

In Visual Studio 2019, we have been using the GitHub extension successfully since before release. Now, all of the sudden, when we push, pull, or sync, we receive the following in the Output window: Warning: 'C:\ProgramData/Git/config' has a dubious…
Bullfrog Software
  • 473
  • 1
  • 4
  • 9
35
votes
7 answers

Visual Studio 2019 version 16.11.0 - error CS1576: The line number specified for #line directive is missing or invalid

Since updating to Visual Studio 2019 version 16.11.0 (today), compilation of Razor MVC views is failing on multiple cshtml files in multiple projects: error CS1576: The line number specified for #line directive is missing or invalid I've tried to…
Nenad
  • 24,809
  • 11
  • 75
  • 93
34
votes
1 answer

How to connect Visual Studio 2019 to TFS?

Visual Studio Professional 2019 looks to be all set for use of Azure DevOps. We are using Azure DevOps but also have a large code base still in TFS. I was using Visual Studio 2017 Enterprise (with TFS) but it seemed this was a 90 day trial. I have…
Allan F
  • 2,110
  • 1
  • 24
  • 29
33
votes
7 answers

Visual Studio keeps showing this message "please wait for an editor command to finish"

My projects on Visual Studio 2019 were working fine. There was an auto-update and since then, I keep getting this annoying message: Please wait for an editor command to finish. Is there a solution to this?
user1527987
  • 359
  • 3
  • 3
33
votes
1 answer

"Initialize interactive with Project" is missing for .Net Core Projects in Visual Studio 2019

In VS 2019 the option to initialize projects on the C# Interactive console is missing when targeting .NET Core. The option is also missing in VS 2017 and there is a related question for VS 2017. However the answer to this question mainly confirms…
Postlagerkarte
  • 6,600
  • 5
  • 33
  • 52