Questions tagged [visual-studio-2022]

Visual Studio 2022 is a version of Microsoft's Visual Studio. Do not use this tag unless you have a specific question about this specific version.

Visual Studio 2022 is a version of Microsoft's Visual Studio. Do not use this tag unless you have a specific question about Visual Studio 2022. Visual Studio 2022 was released to market (RTM) on Nov 8th 2021. It is the first 64-bit release of Visual Studio. It can now take full advantage of modern hardware in order to reliably scale to larger, more complex projects.

Some Major Changes and Improvements

  • First release of 64-bit version with major performance improvements
  • Find in Files is faster (3X than previous version).
  • Better dev tools for C++ and .NET, and Hot Reload
  • Multi-repo support with Git in the IDE
  • Updates for Blazor & Razor editors + Hot Reload for ASP.NET
  • Updated Look and Feel (new Icons)
  • IntelliCode improvements
    • Whole line completion
    • Quick Actions recommendations

Release notes can be found at the official Microsoft page.

3495 questions
20
votes
3 answers

Visual Studio 2022 - Telemetry

After installing VS 2022-Enterprise, I noticed VSTelem and VSTelem.Out folders under %LOCALAPPDATA%\Temp. This was not happening with VS 2019. How can I disable the Telemetry feature?
Vectorizer
  • 1,076
  • 9
  • 24
20
votes
2 answers

Display of => and == operators in Viusal Studio 2022

In Visual Studio 2022, some operators like == and => are shown in a special way: I'd rather turn that off but I haven't found a way to do it.
StefanFFM
  • 1,526
  • 1
  • 14
  • 25
20
votes
2 answers

How to easily change Visual Studio 2022 Editor Font and Colors to match VS 2019

I appreciate that the Visual Studio team is continually trying to improve the VS environment for developers. However, I find the fonts and colors used in the VS 2022 editor to be too loud and mentally taxing. I'd very much like to change the VS…
RonC
  • 31,330
  • 19
  • 94
  • 139
19
votes
3 answers

Visual Studio Test Explorer doesn't run tests after changes

I am using Visual Studio 2022 Community Edition. Whenever I delete or rename existing test methods (including copy, paste, then rename), Visual Studio fails to run tests after the changes are made. I can right click on previously run tests and run…
Jeremy
  • 584
  • 5
  • 15
19
votes
7 answers

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 of the main repository. For another project the built-in Git panel doesn't appear at all,…
mephisto123
  • 1,400
  • 13
  • 38
19
votes
9 answers

After updating Visual Studio 2022, projects no longer under Git control

Ran Visual Studio Installer for the following: Added 'Desktop Development with C++' Updated VS to the latest version 17.1.4 Now when I load any project, it is no longer under source control. In the Git output window, I get a very helpful "One or…
JamesF
  • 434
  • 5
  • 17
19
votes
2 answers

How to disable automatic double quotation marks in Visual Studio 2022

I used Visual Studio 2022 for some time now and it has a really annoying behaviour. When I enter a quotation mark ›"‹ before existing text, to wrap this text in quotation marks, Visual Studio instead enters two quotation marks before the text. In…
Martini Bianco
  • 1,484
  • 1
  • 13
  • 23
19
votes
2 answers

Visual Studio 2022 turn off grey suggestions

How does one turn off grey suggestions in Visual Studio 2022, but keep the table below?
Dominik Stolarz
  • 187
  • 1
  • 5
18
votes
2 answers

Entity Framework 6 t4 code generation not working in VS2022?

I have an old project which was built using VS2019 with Entity Framework 6 on .NET 4.5. We used database first to generate code. It worked very well. However, we just started to use VS2022 V17.6.2, I need to update the application with a new table,…
urlreader
  • 6,319
  • 7
  • 57
  • 91
18
votes
3 answers

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 working and the only solution I have is to exit from Visual Studio and reload the project.…
D A
  • 1,724
  • 1
  • 8
  • 19
18
votes
2 answers

Difference between VsDevCmd.bat & vcvarsall.bat in Visual Studio

What's the difference between: VsDevCmd.bat (Developer Command Prompt for VS2012) vcvarsall.bat (VS2012 x86\x64\ARM Native\Cross Tools Command Prompt) I have a pretty good understanding of vcvarsall.bat as it's been part of Visual Studio for many…
17
votes
2 answers

VS2022: "Diagnostic Tools" window no longer appears during debugging, can't bring it back

I must have fat-fingered something to turn it off, but when I try to run any c# project (.net 6 windows wpf, or even just a commandline application) in debug mode, I no longer see the Diagnostic Tools window. This is the thing that displays a…
Angelo
  • 2,936
  • 5
  • 29
  • 44
17
votes
2 answers

How to fix msedgewebview2 error in VS2022 when admin?

I have installed the relatively fresh Visual Studio 2022 on a Windows installation. The work I do often requires administrative privileges (local IIS). To do this I have two users, one 'normal' account that is logged in to Windows and one…
pekaaw
  • 2,309
  • 19
  • 18
16
votes
1 answer

How to solve error HE0004: Could not load the framework 'ContentDeliveryServices' in Visual Studio 2022

I have Visual Studio 17.5.3 installed on my PC with iOS version Xamarin.iOS and Xamarin.Mac SDK 16.2.0.5. I am connected to a Mac that is running Ventura 13.3.1 with XCode 14.3. When I attempt to deploy from Visual Studio on the PC, I get the…
Victor Chelaru
  • 4,491
  • 3
  • 35
  • 49
16
votes
5 answers

Visual Studio publish error code 0x80070005 -- Bootstrap license

Out of nowhere, after multiple successful Publishes, Visual Studio 2022 gives me an error when I try to publish to Azure. It's looking on my D: disk for a Bootstrap license. There is no D: disk. I hit this a couple weeks, not with Publish but just…
Bob Koury
  • 273
  • 3
  • 10