Category "visual-studio-2022"

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

Visual Studio 2022 quick action from constructor parameter to auto field creation not adding space

In VS 2022, when I press Ctrl + . on a constructor parameter and select "Create and assign field/property", the resulting code is missing spaces around the assi

VS 2022 - cannot change Target Platform to .Net 6.0 for a project created in VS 2019

Just installed VS 2022 on a machine, after I removed VS 2019 (VM with limited space). VS 2022 installed fine. I can create a .Net 6.0 project and compile it -

Analysis Services with Visual Studio 2022

I installed visual studio 2022 with all the necessary extensions for the analysis service but when I want to create a project in visual studio I do not have the