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
2
votes
1 answer

Configure ESLint with TypeScript in Visual Studio 2019

I am trying to configure ESLint in Visual Studio 2019, I enabled ESLint in Options and I have installed ESLint 7.4.0 in node_modules inside my project, which should cause Visual Studio to use that version according to this document. But this causes…
Qurben
  • 1,276
  • 1
  • 10
  • 21
2
votes
2 answers

VS2019 : Error encountered while pushing to the remote repository: Git failed with a fatal error. unable to access

Today my visual studio 2019 team explorer github push get below error. I have no idea how to fix this error. error message : Pushing master Error encountered while pushing to the remote repository: Git failed with a fatal error. unable to access…
Wei Lin
  • 3,591
  • 2
  • 20
  • 52
2
votes
2 answers

Error C1189 #error: The C++ Standard Library forbids macroizing the keyword "inline"

I am migrating a project from VS 2010 to VS2019. My code is working fine in VS 2010 while I am getting error in VS2019 for the same code. #undef inline #define inline __forceinline ../// ..///code #undef inline #define inline inline Error C1189…
2
votes
0 answers

Display breakdown of CPU usage by function for unit test run

I have a set of xUnit tests, which I run using Test Explorer in Visual Studio. How can I show the CPU usage information usually available from the Visual Studio built-in diagnostic tools -- specifically, the breakdown by function -- while running a…
Zev Spitz
  • 13,950
  • 6
  • 64
  • 136
2
votes
2 answers

Debug -> Windows -> Memory for a Unity project?

I need to inspect memory content for a Unity project while debugging it. No matter what I try, such as Use managed compatibility mode, the Memory window desperately shows: Unable to evaluate the expression. Question: Is it possible at all to…
aybe
  • 15,516
  • 9
  • 57
  • 105
2
votes
0 answers

Remote deploying UWP from x64 machine to ARM64

I have a windows x64 PC which is my development machine. I am building UWP app for ARM64 on my development machine. In order to test and deploy the app package, I use remote debugging. When I remote deploy on the ARM64 device, I get the following…
koko_lad
  • 21
  • 2
2
votes
2 answers

How to enable visual studio find results window with "advanced features"?

Please refer to this for the 2 types of Find results window I've encountered in VS2019 using the Quick find feature (or the default Ctrl+F). The first image is a window that seems advanced, in that it has grouping of the results (by project, by…
Michael Balser
  • 157
  • 1
  • 10
2
votes
3 answers

The C# project is targeting NETFramework Version=v4.7.1, which is not installed on this machine

I've just downloaded Unity 2020.1.0f1 and included Visual Studio Community 2019 in the options. When I open C# files within Unity, each file I open loads on a new instance of VS2019 (instead of loading in another tab of the same instance), and shows…
Daniel
  • 7,357
  • 7
  • 32
  • 84
2
votes
3 answers

Visual Studio 2019 C++ not recognizing template friends

I have an example C++ program (included below) that works in Visual Studio 2019 with a plain version of class1 but not with a template version of class1. Both versions work in gcc. The error message I get from Visual Studio 2019 is: Severity: …
2
votes
1 answer

ReportViewer in Web Application VS 2019

I am working on a web application project and I am using Visual Studio 2019, and when I reach the point I need to make a report wising RDLC report I install the report viewer using this command Install-Package…
ehab elfallah
  • 21
  • 1
  • 4
2
votes
1 answer

Visual Studio Item template, choose and implement interface

I create an item template and this template have to implement an interface. Current template code: namespace $rootnamespace$ { public class $safeitemname$ : ITestA { public long? Id { get; set; } public string Years { get; set; } } I guess,…
is_oz
  • 813
  • 1
  • 8
  • 27
2
votes
1 answer

Referencing shared publishing profile in Visual Studio 2019

In my repository I have the next structure: Common \PublishProfiles \Profile.pubxml Solution1 \WebProject1 Solution2 \WebProject2 I want to share Profile.pubxml between two projects. Everything seems to work fine when I use…
Smooyk
  • 389
  • 4
  • 20
2
votes
2 answers

How do I get Visual Studio view editor and pre-compiler to use C# 7?

We have an issue with Visual Studio 2019 found when trying to pre-compile our ASP.Net project during publish. We got errors such as: error CS1056: Unexpected character '$' When I look at the view, it is using string interpolation. All the projects…
PilotBob
  • 3,107
  • 7
  • 35
  • 52
2
votes
0 answers

.net core web api app doesn't work when run locally - unable to verify first certificate

A fellow developer created a Web API .NET Core 2.2 solution that is being hosted on Azure. He is able to run it fine locally on his machine (the machine it was created on). We are using https for the web api calls. I am also using Visual Studio…
2
votes
0 answers

ASP.Net solution how to avoid generate deps.json file

Does the *.deps.json file adds any value in production? If it doesnt, can anyone help how to avoid generate this file. Currently i am using post build event to delete this file and getting build error when i run the solution. del…
Mukil Deepthi
  • 6,072
  • 13
  • 71
  • 156
1 2 3
99
100