Category "visual-studio"

How do I address this MSB6006 csc.exe error (-2146232797) with VS2019?

I just updated my VS2019 community edition to Version 16.7.2. My project started failing to build (maybe link step?) with this error (it was previously buildin

How do I address this MSB6006 csc.exe error (-2146232797) with VS2019?

I just updated my VS2019 community edition to Version 16.7.2. My project started failing to build (maybe link step?) with this error (it was previously buildin

How to Merge when you get error "Hint: You have divergent branches and need to specify how to reconcile them."

I'm working with 1 other developer who has created a branch that needs to be merged with master. I get this error when attempting to Pull in Git in Visual Studi

Tabbed Reports in SSRS

I have been working on reports in Sql Server Reporting services and I am trying to create a tabbed report. I wish to have a main report which read in parameter

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

CS8032 warning with Microsoft.CodeAnalysis out of no where

I've had a solution with a large number of projects in that has built fine since we switched to .NET6 then suddenly I am getting for every project this warning

How to change interpreter in Visual Studio Code?

I have installed on my system several Python interpreters, 2.x and 3.x versions. I am trying to prepare my work environment to allow easily switch between code

I can't see the folders I created in my project

I have been working on a project in C# in Microsoft Visual Studio 2012. Since I have a lot of C# files I decided to put them in a few folders based on their typ

How to change interpreter in Visual Studio Code?

I have installed on my system several Python interpreters, 2.x and 3.x versions. I am trying to prepare my work environment to allow easily switch between code

Visual studio can't debug Android Xamarin app

I've started with Xamarin and Android using Visual Studio 2013. When I start debugging the android app, it builds, deploys to device and then debugging in Visu

Can't initialize/start emulator after press F5 without starting emulator device VS 2019/2022

If in a new project I start the emulator device and next press F5 the project is showed in the device correctly, but if I miss step one and directly press F5 it

Visual Studio Crashes When Adding a DataSet to a Report, Could not load file or assembly

When adding a Dataset to an .rdlc report using the Report Designer, Visual Studio crashes. VS leaves a failure.txt file with this error: System.IO.FileNotFoundE

How to solve ERR_CONNECTION_REFUSED when trying to connect to localhost running IISExpress - Error 502 (Cannot debug from Visual Studio)?

This is running on Windows Server 2008 and used to work several months ago. I am just now using this server again for some dev work with VS. This is live web

Visual Studio 2022 git error Unable to negotiate with {0} port {1}: no matching host key type found. Their offer: ssh-rsa

After updating VS 2022 to 17.1.1, I have a problem with Git. I can't comment, for example, fetch or pusl. I get a message Fetching from origin Unable to negoti

Qt and Intel realsense Getting started

I didn't know where to ask as a beginner. So If you can help... I want to create a project using: Qt 5.15.0 Visual studio 2019 C++ openCV 4.2.0 (if is nece

Scaffold-DbContext failed to build, how do i resolve this issue on Nuget console?

I have installed all required packages for this command, when i try to run this command on my console its failed to build. Kindly please assist to resolve this

Unable to resolve service for type Microsoft.EntityFrameworkCore.DbContextOptions

When I want to add controller using ASP.NET Core MVC with views: enter image description here This is my DbContext class: namespace Infrastructure { public

How to build a visual studio 2019 project in vs 2022 without upgrading

Attempting to build a vs 2019 project in vs 2022 gives the following error: Error MSB8020 The build tools for Visual Studio 2019 (Platform Toolset = 'v142') c

Visual Studio 2022 cannot compile C++ and ASM

I wrote a C++ project with some assembly code files in it. The project files include a C++ file with a main function, and a test.asm file. I configured the proj

How to uninstall a package by NuGet package console?

I have installed Microsoft Owin via nuget package manager console PM> Install-Package Microsoft.Owin Now i want to uninstall the Microsoft.Owin via nu