Category "visual-studio"

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

How to uninstall ClickOnce application?

I was looking everywhere for this answer, but all related questions on SO are very old. This question is from 2009 and the best (and only answer) has 3 steps. R

dll loacation Error by running a testcode

I am learning how to use dlls and how to export them. I have created a small program that calls the different components(classes, methods, functions, ect.. ) of

Saving Visual studio Project as new name

Basically what I'm looking for is what is visual studio 'Save As'. I have a program that I would like to use as a base for building a couple of other programs

TFS Client side hook

We have using TFS as version control. Currently the project management is done through our local PMS application. We have a requirement like when a team membe

HTTP Error 404.15 -Not Found

The request filtering module is configured to deny a request where the query string is too long. I am having above error, and I have been trying almost everyth

Is there a way to clear the Error List window of custom errors?

I use several custom tools during the build process, mostly code generators for service references, T4 templating, and the like. When these produce errors or w

Image not displaying at runtime C# WPF

I have been trying to learn C# but I'm coming across a lot of problems. I am trying to display an image in WPF but for some reason, the image won't show! It app