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

Changing value of volatile const - G++ vs Visual Studio 2019

So I have a following snippet (and a good reason behind it): #include volatile const float A = 10; int main() { volatile const float* ptr = &A; float* safePtr = const_cast(ptr); *safePtr = 20; std::cout << A <<…
doomista
  • 501
  • 2
  • 10
2
votes
0 answers

Tracking memory leak in Visual Studio 2019

I am currently trying to figure out why my program is using tons of process memory according to Visual Studio 2019 Diagnostic Tools. My program is essentially a simulation of ants and how they forage for food using SFML for drawing. It is in the…
jpena51
  • 21
  • 2
2
votes
0 answers

Visual Studio 2019 keeps crashing when running StyleCop version 6.2

I am currently working on a C# API in .netCore 3.1 in Visual Studio 2019 version 16.7.3. When I'm coding on a class and I right click then select "Run StyleCop" the app will show my violations but then the whole Visual Studio freezes and…
2
votes
0 answers

Enabling Hyper-V for VS 2019 Xamarin debugging

I'm running VS Community 2019 16.7.2 on Windows 10 Pro, 2004, 19041.150 I'm on an AMD Ryzen 5 3600 w/ 16 Gb RAM in 64bit mode. At the command line, running systeminfo I get: Hyper-V Requirements: A hypervisor has been detected. Features…
M Kenyon II
  • 4,136
  • 4
  • 46
  • 94
2
votes
1 answer

Configure code cleanup profile to delete object initializer constructor parentheses

How can I configure my code cleanup profile in Visual Studio 2019 to change this piece of code new List() { key } to this one new List { key } when I am running code cleanup?
2
votes
1 answer

react-native run-windows gives error : Certificate could not be opened: TemporaryKey.pfx error

I am working on the react-native-windows project. I followed the instructions given here https://microsoft.github.io/react-native-windows/docs/getting-started. In the run command, react-native run-windows, I get an error error : Certificate could…
2
votes
2 answers

What does mean the icon in the projects in Visual Studio?

I work with the Visual Studio 2019 (ver. 16.5.1), and suddenly a weird icon appeared in my projects: I'm not really sure what the icon means, it seems to be a box or something similar. What does the icon mean exactly? Is there something broken in…
Phi
  • 504
  • 3
  • 13
  • 30
2
votes
1 answer

Mouse freezing/lagging when hit breakpoint

Goal: To be able to find point(X,Y) of element on windows desktop application which been clicked without performing click itself. Not working solution I've added mousekeyhook Nuget package to my .net core WPF application, it working fine ( when…
Lior Dadon
  • 233
  • 2
  • 10
2
votes
1 answer

Package migration from version 8 to version 6 failed with error

I have a basic package that includes a couple of Exec SQL Tasks and a Data Flow task. It was developed using Visual Studio 2019 (latest edition as of now), in package deployment model. The execution in VS works perfectly but fails when ran by SQL…
2
votes
0 answers

Why do I have files from "C:\Program Files\IIS\Microsoft Web Deplay V3" in my c# project's bin/Debug directory?

I have a visual studio 2019 solution with a few projects that consist of mostly c# class libraries. This solution is never 'deployed' and is always run locally by anyone who uses it. Part of what we do for one of our test projects to work is put…
Andy Giebel
  • 223
  • 1
  • 14
2
votes
0 answers

Visual Studio skips unit tests on my machine

Visual Studio 2019 (16.7.2) (Windows). The solution I work on have multiple unit test projects (MSTest) and I was able to run them using both VS built-in test runner as well as Resharper test runner. Recently, I've noticed that Resharper stopped…
2
votes
0 answers

VisualStudio breakpoint is triggered without the actual line being executed

I have a project in Unreal Engine 4 and I am debugging the game code in Visual Studio 2019. There are some cases when a breakpoint is hit but I believe the code is not really executed. Can you please tell me how is this possible? 1 void…
Bublafus
  • 191
  • 6
2
votes
1 answer

project.assets.json missing please run a nuget restore visual studio 2019

I am trying to run microsoft's example repository https://github.com/dotnet/AspNetCore.Docs I successfully cloned the project. I am having trouble running it out of the box. Specifically, I am trying to run the Localization example project by…
2
votes
2 answers

Nuget Package Manager is broken -- '' is not a valid version string in VS2019 "Manage Packages for Solution"

Package Manager in VS2019 is totally broken for me. When I attempt to view packages for my solution the UI just says "Error occurred" with the details below, '' is not a valid version string My build environment is heavily customized with custom…
Luke Schoen
  • 674
  • 6
  • 23
2
votes
1 answer

Visual Studio 2019 - Lost References

Following a hardware failure I have installed VS2019 (16.7.2) on my new system. My old system had 16.4.2. I've cloned my git repos to the new machine but VS cannot find the references in my 16.4.2 projects. I've tried deleting a reference and adding…
jonr
  • 21
  • 2
1 2 3
99
100