Category "visual-studio-2022"

Publishing WPF application fails du to unauthorized .NuGet service index (Azure DevOps)

I want to publish one of my WPF applications (to a folder). The app needs some NuGet packages that I published via Azure Devops. I signed in with Visual Studio

SDL_image failing to initialise

When I try and initialise IMG or use IMG_Load, I get the error: "IMG_Init: Failed loading libpng16-16.dll: The specified module could not be found." From what I

Strange GIT behaviour in VS2022 - Shows error but still completes action

I'm having a strange problem with Git i VS2022 and VS2019. When I Push, fetch or pulls I get a error saying "failed to fetch from the remote repository. see the

[VS2019/2022]How exactly {ServicePort} in the Docker-Compose project works and can be configured?

How to use other service in the Docker-Compose to be paired with the {ServicePort}? I only want a web-server(like Nginx) service to be exposed. How can I point

the project doesn't know how to run the profile ConsoleApp

I just downloaded Visual Studio 2022 (Although I much preferred 2019 but can't find it) and as soon as I open a simple "Hello World" project and try to run it,

Linux Azure web app service remote debugging

The only known way to debug a Linux Azure web app is to create a TCP tunnel between your machine and Azure which is explained here. I am able to create the tunn

How to change Visual Studio 2022 IDE icons?

Is there a way to change icons that are used withing the Visual Studio 2022 IDE? I tried looking for DLL files or image files containing the icons I want to cha

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

VB.NET Core 6, Hashing password in (Win form) using SHA512 - Visual Basic

I am trying to build an application where security and encryption are a high concern. I am using Visual Studio 2022 and VB.NET 6.0 (I searched for 3 days now an

Git has stopped working after installing VS 2022

After installing the new Visual Studio 2022 the built-in Git support has suddenly stopped working. For one of the projects I am seeing only a submodule instead

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

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

Use Web Compiler for SCSS files in Azure DevOps pipeline

Is it possible to use Web Compiler (developed by Mads Kristensen) in a CI pipeline in Azure DevOps? We have the Web Compiler Visual Studio tool installed on our

Unable to restore Visual Studio 2022 window (IDE itself) after minimizing

I have Visual Studio 2022, newest version 17.1.0 running on Windows 10 Pro (up to date). This just started happening yesterday, so maybe it has something to do

Environment Variable for debugging in Visual Studio 2022

I have a problem in Environment Variable in Visual studio 2022. When I use Development there is no problem and it takes development AppSettings, But when I rem

Visual Studio 2022 turn off auto indenting

So i upgraded to VS 2022. and anytime i add a semicolon. the whole code block gets backtabbed. does anyone know how to turn this off? getting tired of hitting c

Call a Method On Hot Reload

I am making a game using Visual Studio 2022 and C# and I was wondering if it was possible to trigger some code when you hot reload your app (whilst it's running

C++ namespace "std" has no member "format" despite #include <format>

I am new to C++. I am trying to store the current date and time as a string variable. At this question, I found an answer, and installed the date.h library. How

Visual Studio 2022 source control not showing changes

Visual Studio 2022 not showing any change of file in git changes window, although there are some files updates are available. Whereas GIT GUI is showing all the

Visual Studio 2022 - for typescript files Intellisense not working

I have a problem with the Intellisense on Typescript files in Visual Studio 2022 (on 2019 I didn't have this issue). From time to time the Intellisense stops wo