1,005 questions with Visual Studio Debugging tags

Sort by: Updated
1 answer

I'm running Windows 11 24H2 and using Visual Studio 2022 Professional. When debugging my program, it fails with "Error while trying to run project: unable to start the program".

However, this is working on my laptop just fine. It has Visual Studio 2022 and runs this same debug without issue. I think it is related to windows 24H2, but can't be sure. The program I'm debugging hasn't changed so it related to something else. I am…

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,005 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,029 questions
asked 2024-11-04T16:48:00.14+00:00
Chris Hurtig 10 Reputation points
commented 2024-11-20T14:34:52.0066667+00:00
Chris Hurtig 10 Reputation points
1 answer

Visual Studio Code- how do I debug a loaded module?

In Powershell ISE, I was able to open a function code module in the ISE, set a breakpoint, in the command line window below, dot source the function code, then run the function from the ISE command line with parameters and was able to debug the…

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,005 questions
asked 2024-11-14T00:31:14.0066667+00:00
Julian Milano 1 Reputation point
edited an answer 2024-11-14T05:48:49.9866667+00:00
Tianyu Sun-MSFT 31,416 Reputation points Microsoft Vendor
2 answers

CAN I SELL "APPLICATIONS" DEVELOPED USING VISUAL STUDIO "COMMUNITY EDITIONS"?

This question is very basic & straight forward. There are many different FAQ's in MSDN Forum but none has been awnsered straight. This License agreement or EULA begins with a. Individual License. If you are an individual working on your own…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,231 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,005 questions
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,053 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,970 questions
asked 2021-12-18T05:30:52.62+00:00
Bharath J Sharma 1 Reputation point
edited a comment 2024-11-11T03:54:57.77+00:00
Greg 1 Reputation point
1 answer

vs code terminal is not working

i have been having this problem from past 3 months couldnot find the solution in youtube also

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,005 questions
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,053 questions
asked 2022-11-08T15:13:21.477+00:00
thanatos 11 Reputation points
commented 2024-11-09T17:03:26.0766667+00:00
khushi nigam 0 Reputation points
4 answers

Visual Studio 2022 Diagnostic tool does not display content properly when debugging

During debugging, nothing is displayed in the diagnostic tool window

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,005 questions
asked 2022-12-28T11:07:52.167+00:00
永达 文 1 Reputation point
commented 2024-11-07T19:03:44.12+00:00
Michael W. Powell 6 Reputation points
1 answer One of the answers was accepted by the question author.

ASP.NET Core Controller API has a higth memory consomation when started in debug from recent Visual Studio version

Hi, We have developed a ASP.NET Core Controller API that work. From we updated Visual Studio from 17.10.4 to 17.11.5, when the API is started in debug from Visual Studio, the memory consumption is rising rapidly : The API work fine when started by…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,645 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,005 questions
asked 2024-11-04T16:46:56.72+00:00
Vernou 86 Reputation points
edited a comment 2024-11-05T07:49:18.2133333+00:00
Vernou 86 Reputation points
1 answer

How do i rename, update, or delete a profile name in my personal Microsoft Teams Account

How do I rename, update, or delete a profile name in my personal Microsoft Teams Account? For example, I would like to rename, update, or delete the name 'Claudine' as shown in the picture attached.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,396 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,200 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,005 questions
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365: Microsoft 365 Copilot refers collectively to Copilot experiences within Microsoft 365 applications.Development: The process of researching, productizing, and refining new or existing technologies.
165 questions
asked 2024-07-09T02:42:57.3366667+00:00
Nas 0 Reputation points
commented 2024-11-04T17:22:32.3266667+00:00
Muhammad Fakhr E Alam 0 Reputation points
1 answer

Not able to debug c++ code on visual studio 2022

I am developing android application using c# and c++. my application uses c++ library. whenever I select c++ debugger in android project properties window and i run my app in debug then I get an error which is attached as image to this question. I…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,776 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,005 questions
asked 2024-10-08T05:33:44.63+00:00
Gaurav Sharma 0 Reputation points
commented 2024-11-04T08:54:41.09+00:00
Mathieu Gauthier 0 Reputation points
1 answer

Just-In-Time debugger was launched without necessary security permissions.

Running a dotnet website locally triggers the below warning: "The Just-In-Time debugger was launched without necessary security permissions" If I say yes to debug, it asks for admin access which will then launch a debugger highlighting…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 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,005 questions
asked 2021-03-01T15:02:32.65+00:00
JT 6 Reputation points
commented 2024-11-04T06:17:17.9333333+00:00
Saman urooj 0 Reputation points
1 answer

The option "Python/Native Debugging" is missing from the list of avialable debuggers even though python native development tools are installed

Im using VS 2022 Community Edition on Windows 10. When i check all boxes in Python development under Visual Studio Installer there is nothing to modify. So i guess everything is installed. But there is no option for "Python/Native" debugger in…

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,005 questions
asked 2022-05-23T10:37:26.903+00:00
Володимир Кравчук 6 Reputation points
commented 2024-11-03T09:45:50.8033333+00:00
Jayanth Peddi 0 Reputation points
1 answer

Combined length of user strings used by the program exceeds allowed limit. Try to decrease use of string literals.

we have a .net core 6 MVC area based project. There are 10 area here. Project size about 5 gb. we have used visual studio 22 community version 64byte. Dapper is used for database access.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,645 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,231 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,005 questions
asked 2024-10-23T14:44:28.9366667+00:00
Mominul Islam 0 Reputation points
edited the question 2024-11-01T08:01:46.5766667+00:00
Jack J Jun 24,521 Reputation points Microsoft Vendor
7 answers

How to target .NET Framework 4.0 in VS 2022 on Windows 11?

Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …

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,062 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,173 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,005 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,029 questions
asked 2022-09-05T07:41:23.313+00:00
Lee Feng 156 Reputation points
edited a comment 2024-10-30T20:47:04.4166667+00:00
Holger B 0 Reputation points
4 answers One of the answers was accepted by the question author.

How Do I disable the source Server Code preview when debugging

This has been a problem for me since I updated Visual studios. For reference I am Currently on Visual Studios Professional 2022 17.11.5 With recent updates, it appears that Microsoft has introduced a new feature that opens a code editor with previously…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,231 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,005 questions
asked 2024-10-22T00:09:57.34+00:00
gklein 20 Reputation points
accepted 2024-10-24T21:12:01.6133333+00:00
gklein 20 Reputation points
1 answer

"The ordinal 345 not found in the DLL" error

I am facing an issue with a Visual Studio solution that contains a development project and a newly added unit test project to test this development project. The unit test project compiles without any issues, but when I run it, I get the following error…

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,005 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.
351 questions
asked 2024-10-24T14:44:35.6+00:00
chedli zaafouri 0 Reputation points
answered 2024-10-24T15:25:27.7166667+00:00
RLWA32 45,706 Reputation points
3 answers One of the answers was accepted by the question author.

Trying to run C#, C# Dev Kit on MacBook Pro Version 11.7.10, visual studio code Version 1.90.2 (Universal)

Hi. I started to learn C# and trying to run it on visual studio code. Does not work. When I press F5, i get a pop up window with "Internal error in the debugger. Open 'launch.json' or Cancel", launch.json: { "version":…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 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,062 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,005 questions
asked 2024-09-20T08:42:53.33+00:00
G 20 Reputation points
edited the question 2024-10-22T14:46:42+00:00
TP 99,531 Reputation points
1 answer

Help analyse BSOD BugcheckCode 268435583

Hello, I am getting a BSOD with BugcheckCode 268435583 whenever I try to run Acronis backup using an external USB drive. Can someone please help with analysing the cause of the problem? I can submit the mini dump files for analysis. Thanks.

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,005 questions
asked 2024-10-12T00:46:48.4+00:00
Sam 0 Reputation points
commented 2024-10-17T21:33:36.7033333+00:00
Sam 0 Reputation points
2 answers

Facing "Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute' attribute

I have been facing the error below and have been following the main threads on Google. I've tried to delete the obj and bin folders and Rebuild the project, also updated Visual Studio, but I was not successful. Thanks for all of you that can…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,231 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,062 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,005 questions
asked 2024-02-27T16:42:58.3133333+00:00
Dante Santos 5 Reputation points
answered 2024-10-10T23:24:32.13+00:00
Ajay KN 0 Reputation points
0 answers

Lower the 'Deployment Target' to see older simulators or check your Apple SDK path warning after update

I can't run my Xamarin Forms application on Mac in the simulator, writes: Lower the 'Deployment Target' to see older simulators or check your Apple SDK path warning after update

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,362 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,005 questions
asked 2024-09-30T10:38:11.03+00:00
Vladimir Platun 0 Reputation points
edited a comment 2024-10-04T06:10:31.75+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 77,016 Reputation points Microsoft Vendor
1 answer

Designer load encountered an error

Starting a project in Visual Studio. Getting error: |Designer load encountered an error. Please ensure that the project can be built successfully|Designer load encountered an error. Please ensure that the project can be built successfully| |…

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,005 questions
asked 2024-09-17T21:27:47.13+00:00
Sandy Gordon 0 Reputation points
commented 2024-10-02T08:39:38.1733333+00:00
Anna Xiu-MSFT 29,936 Reputation points Microsoft Vendor
1 answer

How to fix "variable $(workspaceFolder) can not be resolved. Please open a folder."

error when debugging. It used to work just fine before idk what happed to visual studio

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,005 questions
asked 2024-09-23T17:07:43.3166667+00:00
amrbahaa 0 Reputation points
commented 2024-10-01T09:06:40.5466667+00:00
Anna Xiu-MSFT 29,936 Reputation points Microsoft Vendor