Category "visual-studio"

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

How to display video and audio in HTML preview in Visual Studio Code

When I use the HTML5 video and audio tags in my code, video and audio appears when I load the file in a browser. They also appear when I use a HTML preview pack

Using GLAD for Raspberry Pi project

I am trying to figure out how to create a window for my project. I want to work with OpenGL ES and I found online guides on how to use X11 and EGL for creating

how to use RDLC in visual studio 2022

Hi I've created a new solution on .net 6 on VS2022 , and now I need to create reports but it looks like there is no way in vs2022. is there a way to use repor

I can't create a report with an object datasource in Visual studio 2019

I am trying to create a simple report in my vs2019 with a class as the data model I have a public class named 'persona' I have a new wpf applicacion (.net 5) I'

Cannot create IOS archive: Path (directory name must be less than 248 characters) and/or file name (must be less than 260 characters) are too long

ERROR Cannot create IOS archive 'MyIosProject'. Process cannot be executed on XMA server. There was an error unzipping the file C:\Users\myusername\AppData\Loc