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

Visual Studio 2019 SSDT project SQLCLR signing not generating signed DLL

I used Visual Studio 2019 to create a SSDT project. Added a SQL CLR C# user defined function. Open project properties page, in the SQLCLR tab, click Signing... button to check the "Sign the assembly", create a new key file. But after building the…
2
votes
1 answer

Make code read-only in Visual Studio 2019 while debugging

When I was using Visual Studio 2017 my code was read-only until I hit "break all" or a breakpoint. I'm pretty sure this was out-of-the-box without me changing any option. I'm talking about Windows desktop development with C# and…
ccalboni
  • 12,120
  • 5
  • 30
  • 38
2
votes
1 answer

How do I setup JSON Text Editor Tabs/Spaces settings in Visual Studio Pro 2019?

I remember in previous versions of VS Pro that I used there used to be a configuration in: Options -> Text Editor -> JSON -> Tabs to specify what indentation I need for JSON files. I am currently using VS 2019 and I don't see an item for JSON under…
Denis
  • 11,796
  • 16
  • 88
  • 150
2
votes
1 answer

How to sync multiple repo in VisualStudio 2019?

I have a project in VS2019 which is yet published in a GitHub repository, now my company decided to use Bitbucket as hosting for the git but i still want to be able to keep my project up to date in both GitHub and Bitbucket repos. The issue is that…
Kasper Juner
  • 832
  • 3
  • 15
  • 34
2
votes
1 answer

Where is LLDB in the Visual Studio 2019 clang extension?

Visual Studio comes with built-in clang support that can be enabled when installing. I have installed that support and now have all the clang executables in C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\Llvm\x64\bin. I'm not…
gexicide
  • 38,535
  • 21
  • 92
  • 152
2
votes
1 answer

Is the name Secrets an invalid name for a class in C#

I am probably making a dumb error but I cannot see it. I added a custom class to my project following the simple Newtownsoft example here. namespace MyApp { public class Secrets { public string Test {get;set;} } } But when…
Tim
  • 8,669
  • 31
  • 105
  • 183
2
votes
1 answer

How do you setup Google Test in VS 2019 from scratch?

I've been trying to set up google test v1.10 in visual studio 2019 for a really long time now and it hasn't been working, and a lot has changed as well. Most of the tutorials are out of data and Microsoft help page says to use the google test…
2
votes
3 answers

Unable to build docker compose with Azure Function project in Visual Studio 2019

I'm trying to add an Azure Function project to a docker-compose file created in Visual Studio 2019 (16.7.6), but this causes the solution to fail to build. (Docker for Windows 2.4.0.0 (48506), with WSL2 support enabled, running in Linux container…
MarkdotH
  • 353
  • 1
  • 2
  • 9
2
votes
2 answers

A simple tic-tac-toe program in Visual Studio 2019 causes Windows Defender to report threat

Create a new C++ console application using Microsoft Visual Studio 2019. Add a file, name it tictactoe.c. Paste the code given below - #include int main(void) { int player = 0; int winner = 0; char board[3][3] = { …
Amogh Sarpotdar
  • 544
  • 4
  • 15
2
votes
1 answer

Build failed but the errors in not shown in the error list ( visual studio 2019 )

I'm trying to build an application in visual studio , the build is failed but I can't see any error in the error list. I have tried: Clean solution. Delete vs folder. Restart Visual studio But any of those solutions solve my problem.
abdou_dev
  • 805
  • 1
  • 10
  • 28
2
votes
2 answers

syntax error: ']' was unexpected here, despite the fact that there is no extra ']' anywhere?

Visual Studio 2019 is saying that there is a syntax error on line 30, it is saying there is an unexpected ']' despite the fact that the only closing bracket is closing an opening bracket. I don't know why this is occurring, this has never happened…
Zeeen
  • 312
  • 1
  • 2
  • 13
2
votes
3 answers

Intellisence falsely marks import errors despite deleting .vs-Folder

I'm using Visual Studio 2019 and TypeScript 3.9. I continued working on a React/.NET project when upon creating a few new tsx files Intellisence displayed a few errors, such as: TS1259: [...] can only be default-imported using the 'esModuleInterop'…
Beltway
  • 508
  • 4
  • 17
2
votes
1 answer

SFML C++ Failed to load font

As I was creating a program that would print text, that I input, out onto the window I have stumbled on a problem. My font always fails to load. I tried putting it in multiple directories, even putting in the whole path to the file yet it does not…
2
votes
0 answers

Basic CMake C++ WSL project fails to compile

I am trying to use the Build --> Compile functionality of Visual Studio in an almost "Hello World!" program. On a new CMake Project, I set up CMakeSettings configuration to WSL-Clang-Debug. Then I edited CMakeProject3.cpp to include some header file…
Andrei
  • 961
  • 1
  • 9
  • 29
2
votes
2 answers

Intellisense suddenly slowed down? VS2019

I haven't used VS2019 for the past few days. I opened it up today and Intellisense has drastically slowed down. I mean it's not awfully slow but takes 2-3 seconds while the results showed almost immediately a few days ago. Is there a chance I…
John Katsantas
  • 571
  • 6
  • 20