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

Visual Studio Professional 2019 version 16.10.0 Can't open .sql files in SSDT project

Upgrade VS 2019 Professional to latest version 16.10.0. Open an existing SSDT project, double-click on any sql script file in the project, the file can't be opened in a tab window. If the sql script defines a table, I can see the message: The design…
user3616544
  • 1,023
  • 1
  • 9
  • 31
13
votes
5 answers

How to disable typescript INTELLISENSE errors in VS 2019?

I'm using the typescript but I use it through webpack and babel, so in my ts code imports should be commented out: // import * as $ from 'jquery'; Otherwise I get errors on babel side. I can't find better way. This works. But then VS 2019 …
Roman Pokrovskij
  • 9,449
  • 21
  • 87
  • 142
13
votes
1 answer

Cannot compile unreal engine 4.25 with visual studio 2019.7.2

I get this error below when I try to compile unreal engine version four point twenty five (4.25) with visual studio version twenty nineteen point seven point two. (vs2019.7.2) or (16.7.2). Microsoft Visual Studio Community 2019 Version 16.7.2 Does…
13
votes
2 answers

How do I do a deterministic build locally (ContinuousIntegrationBuild flag)?

When I attempt to publish my package using NuGet Package Explorer, I see the following warning: Deterministic (dll/exe): Non deterministic Ensure that the following property is enabled for CI builds and you're using at least the 2.1.300…
13
votes
3 answers

Git author information in Visual Studio 2019

I use Visual Studio 2019 and I am missing a feature I can't find in the settings. In Visual Studio Code, once I open a project that is under git control, I see an author and commit info of the line the text cursor is currently located in. If I open…
Daniel Stephens
  • 2,371
  • 8
  • 34
  • 86
13
votes
3 answers

Blazor with Database First

I'm trying to build a simple CRUD app using Blazor in Visual Studio 2019 - I have watched over 7 tutorials between YouTube, PluralSight, and Channel 9, and in all of them, they use Entity Framework Core to create the Database and Tables from within…
13
votes
4 answers

How do I properly rename a .razor file in vs2019?

In vs2019, I added a new razor component to a working and essentially brand new Blazor App project. I renamed the file for my new razor component and noticed index.razor still referenced , so I updated it to to…
colbybhearn
  • 452
  • 9
  • 21
13
votes
2 answers

CMake project in Visual Studio gives flag override warnings (Command line warning D9025: overriding '/W4' with '/w')

I have a CMake project, which I am building with Microsoft Visual Studio 2019. I am trying to fix and remove all warnings, but there is one type which I can't disable or fix. All of them are of the type: Command line warning D9025: overriding '/W4'…
Serban Stoenescu
  • 3,136
  • 3
  • 22
  • 41
13
votes
1 answer

All unit tests Inconclusive when run in VS 2019

I'm using Unit Test Explorer and Unit Test Sessions to run my tests and suddenly get the below error. When running in Test -> Test explorer, the tests do not run at all and I see no errors. In both cases there is nothing in Output window. I've…
user1713059
  • 1,425
  • 2
  • 17
  • 34
13
votes
6 answers

Material-UI components not found during TypeScript module resolution

I have a Visual Studio 2019 (v16.3.2) React TypeScript project which includes the Material-UI components. The TypeScript compiler can not resolve any of the @material-ui imports and errors such as the following occur causing the corresponding…
ChrisP
  • 9,796
  • 21
  • 77
  • 121
13
votes
1 answer

Prevent a Console App (.NET Core) from printing "exited with code 0." in VS2019 and VS2022

When I start a Console App (.NET Core) with Ctrl+F5 (Start Without Debugging) in Visual Studio Community 2019 (Version 16.3.1), the following message is appended in the Console window at the end: C:\HelloWorld\bin\Debug\netcoreapp3.0\HelloWorld.exe…
Theodor Zoulias
  • 34,835
  • 7
  • 69
  • 104
13
votes
1 answer

How to debug Angular SPA in either vs2019 or vscode

This may be a stupid question, but I can't figure out how to debug my whole application in either vscode or vs2019 community. If I use vs2019, I can debug the api, controllers, etc just fine, but can't debug the typescript or js. If I use vscode,…
13
votes
2 answers

Reference GAC assemblies in new CSPROJ format?

I am using Visual Studio 2019 preview 2.1. I have a .NET Framework 4.6.1 class library C# project which has some Azure references in the old csproj project format (ToolsVersion="15.0"). This old csproj currently builds and works just fine. I am…
Agendum
  • 1,697
  • 1
  • 18
  • 36
12
votes
5 answers

"The project doesn't know hot to run the profile MauiApp.WinUI"

I am trying to get started with a brand new .NET Maui application. Upon creating the project, it has a single project for the MauiApp, and another project named MauiApp.WinUI. When I try to run the the app on my Windows 10 device, I get the error:…
Mampinator
  • 117
  • 1
  • 11
12
votes
6 answers

Visual Studio 2019 Community 16.8.4 crashes when drag and drop Tab

Visual Studio 2019 Community 16.8.4 crashes when drag and drop Document Tab. I have re-installed VS 2019 Community and it does not fix the problem. I have been using 2019 Community for a year now with no problem. Not sure if it is related to 16.8.4…
Joe
  • 4,143
  • 8
  • 37
  • 65