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
18
votes
4 answers

Analyzers warnings in ASP.NET Core 2.2 project in VS2019

I have what is basically a default ASP.NET Core 2.2 project created from the default Razor Pages templates. Now, in solution explorer -> Dependencies there is a node called "Analyzers". First of all, at first I had no idea what it was for. I think I…
PussInBoots
  • 11,028
  • 9
  • 52
  • 84
18
votes
1 answer

Debug .NET Core source

I use Visual Studio 2019 and a .NET Core 3 web application. I'd like to debug .NET Core source code, so when an error occurs I can dive into the code and examine it in more detail. As I couldn't find an exact description on how to do it (even on the…
17
votes
10 answers

Visual Studio: Xamarin - Error starting Android Emulator

Problem encountered on https://dotnet.microsoft.com/learn/xamarin/hello-world-tutorial/devicesetup Operating System: Windows 10 Pro Using the Hello World xamarin example in Visual Studio - I'm unable to start the Android Emulator. When I click on…
amrit
  • 243
  • 1
  • 3
  • 12
17
votes
4 answers

Visual Studio 2019 with Git - "Undo Changes" doesn't always work

Sometimes in Visual Studio 2019, when working with a Git repo, right-clicking and selecting Undo Changes in Team Explorer doesn't work as expected. While the changes are indeed undone, the file icon still remains under the Changes heading. Even if…
Cade Bryant
  • 737
  • 2
  • 7
  • 19
17
votes
1 answer

Where's the Network Traffic Tool in Visual Studio 2019

According to this question (How to view network traffic in Visual Studio), in VS 2017, there was a network tool where you can see traffic. I can't seem to find it on VS 2019. Has it been removed or moved to a different location? I am using VS2019…
Diskdrive
  • 18,107
  • 27
  • 101
  • 167
17
votes
4 answers

Visual Studio 2019 ignoring tab preference

I was programming in VS2019 this morning before going about my day. When I sat down in the evening to keep programming, I realized that it has suddenly been placing spaces instead of tabs! My preferences are set for every language to place tabs…
17
votes
8 answers

Breakpoints won't hit in Blazor Webassembly project, ASP.NET Core 3.1,

Breakpoints won't hit in ASP.NET Core 3.1, Blazor Webassembly project. I have a solution with a single Blazor Webassembly project which I run locally. When placing a breakpoint in a .cs file it says: "The breakpoint will not currently be hit. A…
Dabriel
  • 403
  • 1
  • 5
  • 12
17
votes
6 answers

Generating a plain GUID in Visual Studio

If I try using the "Create GUID" tool using "Tool" > "Create GUID", I get a box that has six different snippets which contains GUIDs. But it doesn't offer the option of providing only the GUID. Is there any way to do this? I'm using Visual Studio…
Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338
17
votes
3 answers

How do I open a DTSX file in Visual Studio 2019?

How do I open a DTSX file for editing using Visual Studio 2019? I have generated a DTSX file by using the Import Data wizard found in SQL Server Management Studio, using the same process outlined in this question. The answer to that question…
Katie Kilian
  • 6,815
  • 5
  • 41
  • 64
17
votes
2 answers

using .NET Standard 2.1 with UWP

I made the big mistake of taking some NuGet library updates today. It forced me to either roll back a week's worth of work or upgrade to ASP .NET Core 3.0. I hate to use stuff that's not production, but I didn't want to untangle the libraries…
Quark Soup
  • 4,272
  • 3
  • 42
  • 74
17
votes
2 answers

How to change line spacing in Visual Studio 2019?

In Visual Studio 2017, I reduced line spacing to fit more code on the screen. Today I downloaded Visual Studio 2019, however, I forgot how to change line spacing. I searched the options menu, installed Productivity Power Tools, Googled for answers,…
17
votes
2 answers

TypeScript version mismatch in Visual Studio 2019

I am thoroughly confused by Typescript versioning as it relates to Visual Studio 2019. I have a .NET Core 2.2.x project which utilizes Typescript. When I edit any .ts file, I get the following warning (in the error list): Your project is built…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
16
votes
1 answer

How to use C#10 in Visual Studio 2019

How can I use C# 10 in Visual Studio 2019? I have latest update (16.11.6) and when I try to make a new project (need NET Standard 2.0, for compatibility with 4.7.2) and change it to C#10
jahav
  • 699
  • 1
  • 7
  • 24
16
votes
1 answer

How do I use editorconfig in Visual Studio 2019?

I created .editorconfig file at solution level in VS 2019 with following settings: root = true # All files [*] indent_style = tab indent_size = 4 tab_width = 4 Then I restarted the IDE so the changes can take effect. However only .editorconfig…
sanitizedUser
  • 1,723
  • 3
  • 18
  • 33
16
votes
4 answers

Husky 4.x+ not working with Visual Studio Git

Husky changed it's path handling with 4.0.0. After this change, it throws the following error on commit from Visual Studio: husky > pre-commit (node v12.12.0)/c/path/to/repo/node_modules/.bin/lint-staged: line 5: cygpath: command not…
Nick
  • 529
  • 1
  • 4
  • 13