Category "visual-studio-2022"

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

VisualStudio2022 can't navigate from compile error to source

I'm using VisualStudio 2022 community to develop linux program. The cross-platform compile do works and compile outputs shows Output view well. But when double

Creating a (.NET 6 based) website project with ASP.NET Core and React (TypeScript) in Visual Studio 2022?

I have been trying to set up an ASP.NET Core + React (TypeScript) web app project in Visual Studio 2022, but couldn't succeed in doing so. There are no proper s

Auto Save in Visual Studio 2022

Is there an Auto Save feature in Visual Studio 2022? The article here says it is. But for me I dont see it. Is it removed in Preview? Or I am missing something?

Scaffold-DbContext runs successfully but does not create any models

I am using Visual Studio community edition 2022 and trying to update my Models from database in EntityFrameworkCore 6 (I added new tables and modified some). Wh