Category "visual-studio-2022"

Visual Studio 2022 C++ standard libraries could not be found

I installed the visual studio 2022 community edition with a C++ Desktop development packageScreenshot of Visual Studio Installer. When a new console application

Running multiple Azure Functions locally

I have a solution in Visual Studio 2022 with multiple Azure Functions projects in it. The projects are in .NET 4.8 using the v1 of the function run-time. When d

How to disable that new "FileContentIndex" folder (and .vsidx files) in VS 2022 17.2.0?

Since update to VS 2022 17.2.0, a new folder called "FileContentIndex" is created in "...\.vs\[soln name]". This seems to be related to ServiceHub.IndexingServi

Target Framework not installed when opening a Unity project with Visual Studio 2022

I am trying to open a C# solution that has been generated from a Unity v2020.3.19f project with Visual Studio 2022. Opening it with Visual Studio 2019 works jus

NUKE Build: Could not find a suitable MSBuild instance (Visual Studio 2022)

After upgrade Visual Studio 2019 to 2022, I got the following error when I try to build the project with NUKE Build (Debug/Release): ╬═══

.NET 6.0 Blazor Server app: WebSocket connection to 'ws://localhost:60908/BlazorApp1/' failed

When I create a new, clean Blazor .NET 6.0 app and start it (using Visual Studio 2022), I see the following error in the browser console: WebSocket connection t

Visual Studio 2019 & 2022 (Preview) not finding .NET 6 SDK on launch - mac osx

I'm trying to run a C# .NET Core project locally on Mac and encountering some issues both on Visual Studio 2019 and 2022. Firstly, every time on loading up the

How to change the colors of the modified lines indicator in version 17.2?

I updated Visual Studio 2022 Preview to version 17.2 Preview 6.0, and after doing so, the colors and appearance of the changed lines indicators are "modernized"

Where is Code Analysis in Project properties of Visual Studio 2022

If I open a .NET 5 project in Visual Studio 2019, I see code analysis as follows. And now if I open the same project in Visual Studio 2022 Preview, I dont see

Get the raw request that is sent with HttpClient and HttpRequestMessage

In my C# code running .NET 6 (Azure Function) I am sending an HttpRequestMessage using HttpClient. It doesn't work but it should work, so I want to get the raw

Visual studio 2022 / Resharper indents element after new line

I have some code in visual studio that looks like this: if I place my cursor at the end of the div with class "row" and press enter, that whole div loses its i

IIS Express w/ VS 2022 crashes when debugging web app and selecting file via file html input on page w/ ExtJs

Here are the details: OS: Windows 2016 server accessed over RD Dev tools: VS 2022 17.1.6 & VS 2019 16.11.11. I run VS in Admin mode (both) IIS Express versi

ASP.NET Web Service template not exist in Vsiaual studio 2022?

I have installed Visual Studio 2022 with .Net frameworks. I am unable to create my first web service because web service template does not exist. In visual stud

Duplicate keystrokes on cshtml editor

I'm having a strange problem in Visual Studio 2022, and would like to know if someone else faced it. It only happens when editting .cshtml files, on Asp.net MVC

Visual Studio 2022 - Add HTML file and Add Javascript File options are not available

I have upgraded to VS 2022 recently. Now in the solution explorer, when I right-click a folder and want to add an HTML file or javascript file, the options are

How can I import an existing React project in Visual Studio?

How do I properly import an existing React project being developed in Visual Studio Code into Visual Studio 2022?

VS 2022 Not showing red squiggles under errors

Looks as though IntelliSense also does not catch the error as you can see in the screenshot. I have the red squiggles enabled under Tools > Options > Text

SAP B1 Studio for Visual Studio 2022

How do I install the SAP Business One Add-On Project templates for Visual Studio 2022? I upgraded my VS from 2019 to 2022 and installed the latest SAP B1 Versio

How to manage nuget packages globally for all projects in a solution using Visual Studio 2022?

I have a solution created in .NET 6.0 using Visual Studio 2022 which has many projects. Each project has so many nuget package references in the .csproj file as

CTRL+D doesn't work in Visual Studio 2022

CTRL+D (duplicates) It doesn't work in visual studio 2022 , How to change Ctrl+E,V To CTRL+D ?