7,245 questions with Visual Studio-related tags

Sort by: Updated
0 answers

In VS2022, VB hot reload never works, claiming ENC0005, when Handles is not relevant

In this code, deleting either LstLog line text while at the breakpoint evinces the problem. You can use Debug. instead of LstLog. Private Sub mnuLogShown_Click(sender As Object, e As EventArgs) Handles mnuLogShown.Click …

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,031 questions
asked 2025-03-07T05:07:54.19+00:00
peter rumsey 0 Reputation points
commented 2025-03-08T21:32:53.75+00:00
peter rumsey 0 Reputation points
2 answers

When we run a new project iOSApp1 in VS2022 Community 'attach to Process' appears, what is this?

We simply created a new project (iOS Application) for Visual Basic and we would like some help to understand how to proceed with this.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
asked 2025-02-05T00:17:20.2466667+00:00
richard bridger 0 Reputation points
commented 2025-03-07T19:32:01.3066667+00:00
richard bridger 0 Reputation points
3 answers

"A project with the same name is already opened in the solution"

I upgraded VS from 2019 to 2022. Many projects cannot be loaded. When I click "Reload Project" for an ASP.Net MVC project I get the error message "A project with the same name is already opened in the solution" …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
asked 2022-05-20T21:33:09.933+00:00
Hong 1,221 Reputation points
edited an answer 2025-03-07T17:59:24.3833333+00:00
Salman Zindani 0 Reputation points
2 answers

Code Analysis is no longer working in Visual Studio Community 2022 17.6.4

As mentioned in the title I'm using Visual Studio Community 2022 17.6.4 for Unity C# development, however I can no longer get Code Analysis to provide suggestions, warnings, nor errors. When I run Code Analysis, it runs, but there are no results. When I…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
asked 2023-07-03T23:35:01.16+00:00
Axon Genesis 5 Reputation points
commented 2025-03-07T15:41:44.4333333+00:00
Gavin Burton 10 Reputation points
2 answers

VS 2022 not opening Sql Database sqlproj

I was recently issued a new laptop. The prior laptop VS 2017 upgrade--> 2019 upgrade-->2022. We have multiple SQL Database Project used to manage our ... database projects. On the new laptop I installed VS 2022 and checked to include the SQL…

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
253 questions
asked 2025-03-07T04:10:52.7366667+00:00
Paul Hunter 0 Reputation points
answered 2025-03-07T15:13:23.5+00:00
Paul Hunter 0 Reputation points
1 answer

Change Output Folder Publish-> Create App

I've changed the location of a folder for my MS Store app, from C:\Projects_2024 to C:\Projects_2025. Previously when I went to Publish->Create App Packages... it create my msix in the Projects_2024 sub directory. However, now that I am building the…

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
253 questions
asked 2025-03-06T16:27:32.6266667+00:00
Fritz Switzer 301 Reputation points
commented 2025-03-07T14:24:46.95+00:00
Fritz Switzer 301 Reputation points
1 answer

How do I update the Visual Studio 2022 installer on an offline computer? Note that it refers to "setup.exe", not the VS main program

I had a problem removing an extension.click Modify Prompt: Failed to download installer update. Make sure you are connected to the network and try again.The installer version is 3.10.2157.28521 , The software version is is Visual Studio Community 2022…

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,108 questions
asked 2025-03-07T06:00:11.7166667+00:00
正寅 吴 0 Reputation points
edited an answer 2025-03-07T13:29:09.1433333+00:00
Tianyu Sun-MSFT 33,391 Reputation points Microsoft External Staff
1 answer

How to solve this problem in VisualStudio 2022 developer console?

********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17.13.2 ** Copyright (c) 2022 Microsoft Corporation ********************************************************************** C:\Program…

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,108 questions
asked 2025-03-05T08:34:42.9933333+00:00
Ruslan Semchenko 0 Reputation points
edited a comment 2025-03-06T12:01:24.4566667+00:00
Tianyu Sun-MSFT 33,391 Reputation points Microsoft External Staff
1 answer

Settings.Default.Upgrade does not copy over the user settings to new release

Hello, I'm writing a console app in Winform with Visual Studio 2019. I want the user settings to persist every time I release a new version. I'm using this piece of code to do that. if (Properties.Settings.Default.UpgradeRequired) …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,924 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,332 questions
asked 2021-04-12T10:06:38.903+00:00
Dinh Ton 1 Reputation point
commented 2025-03-06T10:10:47.1733333+00:00
Nick Brown 0 Reputation points
2 answers One of the answers was accepted by the question author.

Visual Studio 2022 17.12.4 can't connect test runner process

After upgrading visual studio 2022 to 17.12.4, for .net 8 test project which is using MSTest and Xunit at same time, it always fails to execute tests from test explorer. The error message is like below: "Unable to connect to testing platform runner…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
360 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
360 questions
asked 2025-02-07T02:18:20.4766667+00:00
Shi, Jason (Shanghai) 50 Reputation points
answered 2025-03-06T09:13:03.8833333+00:00
Shi, Jason (Shanghai) 50 Reputation points
2 answers One of the answers was accepted by the question author.

Visual Studio 2022 17.12.4 can't connect test runner process

After upgrading visual studio 2022 to 17.12.4, for .net 8 test project which is using MSTest and Xunit at same time, it always fails to execute tests from test explorer. The error message is like below: "Unable to connect to testing platform runner…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
360 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
360 questions
asked 2025-02-07T02:18:20.4766667+00:00
Shi, Jason (Shanghai) 50 Reputation points
answered 2025-03-06T09:13:03.8833333+00:00
Shi, Jason (Shanghai) 50 Reputation points
2 answers One of the answers was accepted by the question author.

Isn't it true that I can install multiple versions for Visual Studio?

At work I have been having a lot of problems with my work desktop. For example, last Monday I had 5 Blue Screens of Death. Then on Tuesday I had four BSODs. I told my desktop support about this back in November 2024. During the Christmas break, they…

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,108 questions
asked 2025-03-04T01:48:25.7633333+00:00
Rod Falanga 591 Reputation points
accepted 2025-03-06T04:41:00.77+00:00
Rod Falanga 591 Reputation points
1 answer

Visual Studio tools for office word controls

Create a VSFO Word project does not work. Error is "The project cannot be created"

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,108 questions
asked 2025-03-01T21:54:37.8733333+00:00
Islay Rodriguez 0 Reputation points
commented 2025-03-06T04:23:07.5733333+00:00
Anna Xiu-MSFT 30,926 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

Migrate from ADS to Visual Studio Code ...

Hello Folks, I am in a process of migrating from ADS to Visual Studio Code. My main goal for usage of ADS was to work with SQL Server databases and things related to it. In ADS I actively used 'Import Wizard' to create table from files. I don't see it in…

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
253 questions
Azure Data Studio
Azure Data Studio
A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
135 questions
asked 2025-02-14T13:52:39.38+00:00
Susja 741 Reputation points
commented 2025-03-05T18:21:19.5733333+00:00
Oury Ba-MSFT 20,436 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

how to fix the debugger in visual studio code

My debugger is not working. I guess there is some problem with the configuration but it is not working. Everytime i try to debug it show 'Configuration 'C/C++: gcc.exe build and debug active file' is missing in 'launch.json'. Please help me configure the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,031 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,031 questions
asked 2024-07-29T13:50:02.1566667+00:00
Bhavya Jain 20 Reputation points
answered 2025-03-05T18:14:49.0833333+00:00
Ivars Jakovics 0 Reputation points
3 answers One of the answers was accepted by the question author.

how to fix the debugger in visual studio code

My debugger is not working. I guess there is some problem with the configuration but it is not working. Everytime i try to debug it show 'Configuration 'C/C++: gcc.exe build and debug active file' is missing in 'launch.json'. Please help me configure the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,031 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,031 questions
asked 2024-07-29T13:50:02.1566667+00:00
Bhavya Jain 20 Reputation points
answered 2025-03-05T18:14:49.0833333+00:00
Ivars Jakovics 0 Reputation points
0 answers

Help using azure devops SDK package in extension development process

I'm developing an Azure DevOps extension that adds a custom button to the work item form. When a user clicks this button, a third-party API should be called and its response displayed directly on the work item. I've already implemented the API call, but…

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
253 questions
asked 2025-03-05T06:14:35.02+00:00
Sankar Santhanaraman 0 Reputation points
commented 2025-03-05T15:00:59.5066667+00:00
Sankar Santhanaraman 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to do unit testing on node.js web application in visual studio?

I created a project in Visual Studio 2022. I created a node.js web application using the "Blank node.js web application" template. I want to create a unit test. What is the recommended way to do that? I hit problems following an article that…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
360 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
360 questions
asked 2024-01-28T19:45:56.46+00:00
Wayne Roseberry 20 Reputation points
edited an answer 2025-03-05T14:15:03.2433333+00:00
Alberto Martin 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to do unit testing on node.js web application in visual studio?

I created a project in Visual Studio 2022. I created a node.js web application using the "Blank node.js web application" template. I want to create a unit test. What is the recommended way to do that? I hit problems following an article that…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
360 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
360 questions
asked 2024-01-28T19:45:56.46+00:00
Wayne Roseberry 20 Reputation points
edited an answer 2025-03-05T14:15:03.2433333+00:00
Alberto Martin 0 Reputation points
1 answer

ReportViewer Tasks in c# in visual studio

hello, the option to design a new report does not appear in ReportViewer Tasks in c# in visual studio 2022

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,031 questions
asked 2025-03-01T22:52:18.92+00:00
Ali KARACA 0 Reputation points
commented 2025-03-05T14:03:17.24+00:00
Tianyu Sun-MSFT 33,391 Reputation points Microsoft External Staff