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
12
votes
3 answers

Visual Studio 2019 hangs on "Execute Suggested Action" when adding a reference

I've got a problem with Visual Studio Enterprise 2019, it hangs on "Execute Suggested Action" when I use it to add a reference to another project or library.
marko
  • 487
  • 1
  • 6
  • 15
12
votes
1 answer

How can I add the .NET framework 5.0 to Visual Studio Professional 2019?

I have downloaded and installed the new .NET framework 5.0 from this website. But I would like to know how to add this framework to a project created on Visual Studio 2019 16.8.0. Note: I have launched VS installer and I have searched for the new…
abdou_dev
  • 805
  • 1
  • 10
  • 28
12
votes
2 answers

Blazor Web Assembly App .Net Core Hosted: publish runtime error

I've created a simple Blazor Web Assembly project hosted inside a .NET Core App using .NET 5.0 RC1 Framework and I added the authorization during the wizard in Visual Studio 2019 Preview. It works perfectly in debug but if I publish it and try to…
12
votes
9 answers

Microsoft Edge WebView2 - Sample crashes on Load

I took the latest version of Microsoft.Web.WebView2 (0.9.515-prerelease) and added to a test C# WinForms application. Am using VS 2019, .NET framework is 4.7.2. Placed the WebView2 control on a form, compiled and ran. The application crashed on…
Krishnan V S
  • 1,124
  • 1
  • 13
  • 31
12
votes
3 answers

How to not break when user handled exception is thrown in visual studio 2019

Microsoft Visual Studio Enterprise 2019 Version 16.5.5 VisualStudio.16.Release/16.5.5+30104.148 Microsoft .NET Framework Version 4.8.03752 I don't want visual studio to break in debug mode when such as below exceptions happened. The ones that i…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342
12
votes
4 answers

Changing the C# version in Visual Studio 2019

I'm using visual studio 2019 and I'm trying to change my C# version. The reason I am doing this is that the build servers I use use an older version of VS / MSBuild to build and deploy code (this is outside my control). Therefore I need to use C#…
Armand Bernard
  • 449
  • 1
  • 3
  • 12
12
votes
3 answers

How to customize the docker image name in VS2019

In vs2019, I generate the docker image in the output window, the original command to generate the image was: docker build -f "e:\work\dotnetcoreproject\rookie.qwt\rookie.qwt.webapi\dockerfile" --force-rm -t rookieqwtwebapi --label…
12
votes
3 answers

How to show all Suggestions/Warnings/Errors in the Error List windows of Visual Studio 2019

The problem is that not all visual studio suggestions, warnings and/or errors are shown on solution build. Let's say that on solution build, a total of 22 warnings are shown. After solution build, upon opening .cs files within projects, more…
Dash
  • 401
  • 5
  • 14
12
votes
2 answers

Xamarin crash: System.MissingMethodException: Method not found: void .ResourceLoadingQuery.set_Instance(object)

When I try to run my Xamarin app, I get this error in InitializeComponent of App.xaml.cs: System.MissingMethodException: Method not found: void .ResourceLoadingQuery.set_Instance(object) I tried cleaning and rebuilding my solution, deleting my obj…
ekolis
  • 6,270
  • 12
  • 50
  • 101
12
votes
10 answers

File is locked by Visual Studio 2019

I have a weird problem in Visual Studio: if an unhandled exception is thrown during the debugging process I'm not able to build my C# application: Unable to copy file "C:\Projects\A\bin\A.dll" to "..\..\bin\A.dll". The process cannot access the…
leon22
  • 5,280
  • 19
  • 62
  • 100
12
votes
4 answers

How do I create a C project in visual Studio 2019?

I installed Visual Studio 2019 and I want to create a C project. Not C++ and not C# There is no option for a C solution But the doc says VS is both a C and a C++ compiler. I see no option for a C solution. There is a doc on the net explaining how…
Tarek EZZAT
  • 333
  • 1
  • 5
  • 15
12
votes
3 answers

Why can't I resolve this source conflict in VS 2019?

There don't appear to be any useful options here to resolve this merge from dev -> main branches. Why? I just want to overwrite whoever changed the main branch incorrectly, but I don't have any option to do that here. If I right click, I see some…
djbyter
  • 763
  • 8
  • 28
12
votes
1 answer

VS 2019 SSIS package can't add SQL Server

I installed Visual Studio 2019 and the SSIS package extensions and created a new project. I'm able to add my SQL Server as a Connection Manager with no issues, but when I then drag a Data Flow Task to the package and drag a Source Assistant into…
Gargoyle
  • 9,590
  • 16
  • 80
  • 145
12
votes
6 answers

Visual Studio 2017/IIS Express: Unable to connect to the configured development Web server

saving work in progress When trying to run a web-site from Visual Studio 2019 (or Visual Studio 2017, or Visual Studio 2015), i get the error: Visual Studio 2015: Unable to connect to the configured development Web server. Visual Studio…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
12
votes
2 answers

cannot search for NuGet Packages in visual studio 2019

Cannot search for online NuGet packages in visual studio 2019. Default package source is offline and no option for adding online package source. Searched through the internet. Wasn't able to find the solution. Please check the image below.
Abdul Karim
  • 159
  • 1
  • 1
  • 7