Category "visual-studio-2022"

VS2022 Error MSB3325 cannot Import key file, tried common fixes

Like many I have received the MSB3325 strong naming error, I am targeting a pfx file and have tried to install the certificate directly to the CSP at the given

LINQ to SQL designer not opening/timing out (VS 2022)

On Visual Studio 2022, Windows 11. Linq to SQL tools is installed from installer (Individual Components). When right clicking a dbml file and View Designer, it

Cannot debug pytest tests in Visual Studio 2022 -- symbols not loaded for my python code

I'm trying to debug pytest tests in Visual Studio 2022. I have the tests showing up in test explorer and when I run them they execute, however when I set a bre

How do I remove these annoying error labels?

VS 2022 How do I get rid of these annoying error popups while I'm typing? They even appear over the text I'm currently typing sometimes. I'm not exactly sure w

UI thread slow to respond to Progress updaters on async Task method using VS2022 & Net6.0

I’ve run into a performance obstacle and I’m uncertain of the cause, all of this is running under VS2022 & Net6.0. As this is my 1st time using

How to run batch file inside Visual Studio 2022 Developer Command Prompt

I recently upgraded to VS2022 I cannot find a way to start developer command prompt and run a batch file inside it. Previously I called vsvars32.bat and it set

When I select a line in VS 2022 it always selects the last character from the previous line

Generally I've read that VS 2022 has a lot of bugs but I haven't seen anything like that. Has anyone encountered something like that?

SSIS Extension for Visual Studio 2022

I have downloaded and installed Visual Studio 2022. Then after click on modify Now, I want to create SSIS package, for this I have started VS22 and in "manage

Brand new Standalone Angular project failing on Visual Studio 2022 preview

I just choose standalone angular project from the templates, after I give it a name, set the location and press create it gives me this. I checked the visual st

Visual Studio 2022 how to turn off the new Git experience

Looks like the option to turn off the new Git experience is gone from VS2022. And there is still no way to link in a DevOps work item like you could in the Team

Visual Studio 2022 - Where is the RouterConfig.cs and Global.asax in MVC project?

I am new to Visual Studio and ASP.NET and I am watching a tutorial by Mosh Hamedani on MVC development. The tutorial is a couple of years old, but when he crea

VS2022: how to make ASP.NET Core 5 app show it's console window

In VS2019, when I start my ASP.NET Core 5 app, which just exposes an API, if that matters, a console window pops up for that app. There used to be some setting

Debugging MAUI app on Android after manual launch

I have a MAUI app on Android which works perfectly when launched from Visual Studio with the debugger attached. If I published an APK and install it on the devi

VisualGDB visual Studio 2022 QT application for Linux

I was working with qt application for raspberry pi using visualGDB cross compiler in 2015 it was working fine for me, but after 5 years I restarted the project

Visual studio 2022 how to auto complete only on tab?

Right now, visual studio 2022 will auto complete on a whole bunch of characters that I use in normal coding, such as ( and space.If i for example intend to crea

Get Visual Studio 2022 'Go to' to exclude node_modules

When using the 'Go to' feature in VS 2022 (ctrl + ,) how can I get VS to ignore the node_modules folder. Note that the node_modules folder is already marked as

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 n

$(TargetPath) for WiX project is incorrect for the post-build event

I'm using $(TargetPath) for post-build event for my WiX installer, that is built under VS 2022, and it is translated to: C:\projects\My project\Installer\instal

c# check value at design time

Is there any way, perhaps by use of Contracts, to check whether a variable's value conforms to some rules during design time in Visual Studio 2022? I.e. int is

Visual studio window sometimes hard to restore from being minimized

When I have a visual studio window that is minimized, clicking its button in the taskbar sometimes makes nothing happen. I can click as many times as I want and