1,004 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,004 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,860 questions
asked 2024-11-04T16:48:00.14+00:00
Chris Hurtig 0 Reputation points
answered 2024-11-05T04:51:18.41+00:00
Tianyu Sun-MSFT 31,086 Reputation points Microsoft Vendor
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,283 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,172 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,004 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.
153 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
0 answers

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,604 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,004 questions
asked 2024-11-04T16:46:56.72+00:00
Vernou 66 Reputation points
edited the question 2024-11-04T16:52:47.4933333+00:00
Vernou 66 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,758 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,004 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,908 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,004 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,004 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,604 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,180 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,004 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,516 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,002 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,166 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,004 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,860 questions
asked 2022-09-05T07:41:23.313+00:00
Lee Feng 151 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,180 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,004 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,004 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,691 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,908 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,002 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,004 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 97,911 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,004 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,180 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,002 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,004 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,004 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.) 76,391 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,004 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,516 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,004 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,516 Reputation points Microsoft Vendor
2 answers

Debugger is not hitting breakpoint set in SharePoint 2010 application code in Visual Studio

I have my SharePoint 2010 application code in Visual Studio. I did clean, rebuild and deploy solution. I have done "Attach to Process" w3wp.exe files in the debug, but debugger is not hitting breakpoint when trying to work on UI. IIS reset is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,504 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,180 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,030 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,004 questions
asked 2024-09-19T11:25:46.3666667+00:00
VG 0 Reputation points
edited the question 2024-09-27T07:26:34.6766667+00:00
RaytheonXie_MSFT 36,091 Reputation points Microsoft Vendor
0 answers

How to fix An operation was attempted on a nonexistent network connection. (0x800704CD)

Hi guys I got an exception error like the below stack trace. I suspect the problem is when reading the response data, or reading the data for the request. Could you tell me why this exception occurred and how to fix it? Exception Type :…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,604 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,004 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
30 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,890 questions
asked 2024-06-20T10:15:45.9166667+00:00
Sejune Oh 10 Reputation points
commented 2024-09-26T13:22:09.4966667+00:00
Ermolaev, Nikita 0 Reputation points
1 answer

How install specific version of VCLibs debug (14.0.30704.0)

I need specific version of VCLibs DEBUG: Microsoft.VCLibs.140.00.Debug_14.0.30704.0_x64__8wekyb3d8bbwe I installed MVS 2015 with Universal Windows Tools but it has 14.0.24210.0 how can i update it to 14.0.30704.0? or does somebody know where can I found…

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.
226 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,004 questions
asked 2024-09-25T21:52:53.5466667+00:00
Marek 0 Reputation points
edited a comment 2024-09-26T08:41:37.72+00:00
Marek 0 Reputation points
1 answer

Games not launching due to MSVCP120.dll errors, constant, seemingly random blue screen crashes,

I recently was gifted Postal 2 on steam by a friend, upon trying to launch the game would constantly prompt "The code execution cannot proceed because MSVCP120.dll was not found. Reinstalling the program may fix this problem" or some variation…

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,004 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,860 questions
asked 2024-09-23T08:47:32.6966667+00:00
Kellan Cantwell 0 Reputation points
commented 2024-09-26T06:41:48.08+00:00
Tianyu Sun-MSFT 31,086 Reputation points Microsoft Vendor