Category "visual-studio-2019"

Compilation error C2048 while compiling in visual studio 2019 MSVC, but works fine with clang++?

I tried to compile the following sample code with clang compiler and it works fine. Compiler Details: Apple clang version 12.0.0 (clang-1200.0.32.28) Target: x

Export C# Project as .EXE file

I have a C# project in Visual Studio 2019 that I wish to export as a .EXE file. I have already run it in 'Release' Mode, but no .exe turns up in the 'bin' folde

Show compiler command line of CMake with Visual Studio 2019

I am using open folder functionality of VS2019, and I would like to see flags being used to compile my code. Compilation database does not seem to be generated

How do I use Visual Studio 2019 to remotely debug a .NetCore application on a Hyper-V Linux VM?

I am attempting to remotely debug a .NetCore application in Ubuntu Linux from Visual Studio 2019 in Windows 10. I can see the remote ipaddress (ping thru comman

Unbind/unsynchronized scrolling in source control compare function

In compare option inside the source control, the scrolling is bind together for both files. I want to scroll just one of the sides while the other stay pinned a

How do I stop project with boost dependency finding the wrong ${Boost_INCLUDE_DIRS} location, when building in Visual Studio 2019 with CMake

I am attempting to build the fruit library - https://github.com/google/fruit, in Visual Studio 2019 When I ran the install step for the first time it was unable

Visual Studio's "go to definition" goes to a wrong function/line?

So this happened after my project got to around 6-7k lines of codes, for some reason go to definition goes to a wrong line for some of the functions, mostly old

How to run devenv.exe command line switches (for Visual Studio 2019) from git bash

My primary use case is I'd like to use devenv.exe /edit command to open files in an already running instance of Visual Studio 2019, using git bash. The issue I

Insert tabs instead of spaces

In my C++ document, I want to insert a tab when I press tab. Under Tools > Options > Text Editor > C/C++ > Tabs I chose to Keep tabs. However, when

Jenkins MSBuild fails, error NETSDK1064: Package Microsoft.CodeAnalysis.Analyzers, version 2.9.3 was not found

I am trying to deploy a sample aspnet core project but Jenkins build fails. C:\Program Files\dotnet\sdk\3.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.Packa

Visual Studio C# - How do I turn off autocomplete (not intellisense)?

So I didn't use to have this issue as much in older versions, and it even then it was easy to get used to, but i got VS 2019 recently and now when I write code

How to stop the localized Microsoft.CodeAnalysis.*.resources.dll files from getting published by ASP.NET Core?

When I publish an ASP.NET Core 3.0 project, I get a few localized folders where the 4 assemblies shown are in each of these folders. I am not sure why these fol

SSIS packages not showing in Upgrade Wizard Visual Studio 2019

I am having an issue upgrading our existing 2017 SSIS packages to 2019 . I have updated the target server version in the package settings and we have installed

How to Go To Source Code Definition (not Metadata) from C# to F# in Visual Studio?

I have a small C# Console Application that has a F# Project Reference. using System; namespace ConsoleApp1 { class Program { static void Main(s

Setup requires the computer to be restarted before visual studio can run in VS2019

My visual studio is working fine until past midnight and suddenly crashed this morning with the below error. The solution is pretty easy; you don't have to rein

How to Update VS2019 to a version other than latest?

On March 09, 2021 Microsoft released VS2019 16.8.7 and 16.9.1 https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.8#16.8.7 https://doc

How do i change the easy tabs page title to webBrowser1.DocumentTitle?

This is what it should look like: This is what it should look like 2nd Picture: Program.cs using EasyTabs; using System; using System.Collections.Generic; usi

Difference in memory leaks using _crtBreakAlloc compared to UMDH

While trying to diagnose memory leaks with the {,,ucrtbased.dll}_crtBreakAlloc method, I found a memory leak which depends on timing in a multithreaded environm

VS2019 Winforms SDK-style project, can't add a new form

VS20019 creates a windows forms project targeting .net framework (.net 4.7.2 namely) as an "old" style project. I have converted a newly created project to SDK

Redefinition error in propidlbase.idl when compiling ATL project in Visual Studio 2019

I am trying to migrate a previous an older project from Visual Studio 2010 to a current version of Visual Studio (2019). I Microsoft's change notes on upgrading