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
1
vote
2 answers

CTC1014 Docker command failed with exit code 0

I'm getting a very opaque error message - CTC1014 Docker command failed with exit code 0. This Dockerfile worked well previously, but I think there is a problem with it in Visual Studio 2022. FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-alpine AS…
1
vote
0 answers

"Invoke text transformation in the build process" cannot find file Microsoft.VisualStudio.Interop.dl

I have followed the instructions at Microsoft: Invoke text transformation in the build process which are also referenced in the StackOverflow answer here. However, when I try a rebuild, I get a file not found error for a Microsoft dll: An exception…
StarNamer
  • 650
  • 1
  • 11
  • 27
1
vote
1 answer

Visual studio 2022 crash on start debugging

Can anyone help me find why my visual studio 2022 crash everytime I start debugging? If I only run app it works fine. Also I have visual studio 2019 on the same windows 10 pc and all works fine. Visual studio 2022 is latest, updated, stable. Here is…
senterd
  • 101
  • 2
  • 5
1
vote
1 answer

Does Code Definition Window (of Visual Studio 2022) support C# projects?

I read this on this article https://devblogs.microsoft.com/visualstudio/whats-new-in-net-productivity-with-visual-studio-2022/ The Code Definition Window now supports C# and Visual Basic allowing you to quickly understand and explore code. To use…
zagZzig
  • 136
  • 1
  • 9
1
vote
1 answer

BundlerMinifier Visual Studio 2022

We are trying to install the NuGet Package for the BundlerMinifier in VS2022, but we get no context menu or nothing to allow us to minify or bundle or anything else for that matter. Is this a known issue. Thanks
user2981411
  • 859
  • 12
  • 34
1
vote
0 answers

How to access project (opened project) appsetting or any config file from Visual studio extension Project(VSIX)

Is there any code and method to access project appsetting.json/web config or any file when running Visual studio Extention project (VSIS project). I want to get the connection string from the open project when executing a command from VSIX project.…
1
vote
0 answers

Run Visual Studio 2019 and 2022 Remote Debuggers simultaneously as service

My team has a blend of VS2019 and VS 2022 users and I would like to configure our servers to run remote debuggers for both versions. I've tried starting both services but get the following error. The only solution I've found thus far is to run 2019…
1
vote
3 answers

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 is built getting errors C++ standard libraries could not be found. Please let me know…
1
vote
1 answer

premake5 variable name for workspace and project

I wanted to make the process of creating premake5 file easier by automating the process of creating a premake5 file. when I tried to put a variable ProjectName = "myProject" into where the name of the workspace was supposed to be workspace…
silver takana
  • 138
  • 12
1
vote
1 answer

VS 2022 Unable To Find .NET 4.8

I updated from VS 2019 to VS 2022 on my Windows 10 machine and am now unable to load up projects. On load, it complains that the referenced .NET version is not installed (it is), and if I choose "upgrade," it complains that the reference assemblies…
quantumswing
  • 119
  • 2
  • 4
1
vote
1 answer

visual studio 2022 debugger not showing Qt values

by default visual studio debugger does not show QString, QByteArray or similar data type values. by searching I found out that I should install Qt vs tools and it will create a .natvis file which will help Visual Studio to show these values. after…
1
vote
1 answer

How do I have the setup program in Visual studio install to more than one directory?

I've seen some similar questions asked here, but they don't seem to answer my specific question. Visual Studio 2020 - Setup project. My setup project currently installs files to the destination folder, we'll call it Dir.AI. All my setup's output…
Level 42
  • 400
  • 2
  • 7
1
vote
0 answers

Visual Studio conditional compilation code block greyed out with no intellisense or color formatting

I have a C# project which targets net48 and netcore20. I see that the code files where there is a conditional compilation with regards to the net framework, the code is greyed out - no IntelliSense or color formatting to help with the code…
1
vote
2 answers

Can not install Visual Studio 2022 Professional - Error Couldn't install Microsoft.Net.4.8.KB5003306

I have been struggeling to install VS 2022 Professional edition for a while now. At some point during the intallation i get the following error: The logs show that there is a problem when executing dism.exe: The DISM logs show that there is a…
zabit
  • 23
  • 1
  • 4
1
vote
1 answer

VS Build tools 2022 not showing up on capabilities of Azure agent pool

Recently I updated our build servers to use VS2022 BuildTools (from VS2019 BuildTools). But they do not show up in the System capabilities of the Azure devops Agents. I tried updating the agents, restarting the services, re-configuring the agents…
suprasad
  • 1,411
  • 3
  • 18
  • 40
1 2 3
99
100