966 questions with Visual Studio Debugging tags

Sort by: Updated
4 answers

VS 2022: Edit and continue isn't working.

Since recently upgrading to VS 2022, I cannot edit when in debug/break without being prompted: Edits were made which cannot be compiled. Changes won't be applied until the compile errors are fixed. Refer to the Error List Window for further details. …

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.
966 questions
asked 2022-04-04T14:05:28.113+00:00
Kipp Woodard 6 Reputation points
commented 2024-03-02T11:54:01.4766667+00:00
Carplay auto 0 Reputation points
1 answer

CS5001 Program does not contain a static 'Main' method suitable for an entry point

I developed ASP.NET website for five years. Recently I upgraded to VS2022 recent release, then R-Click on the project name in Solution Explorer I ran "Analyze and Code Cleanup". Now, I get a build error "CS5001: Program does not contain a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,411 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,872 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.
966 questions
asked 2024-02-27T11:49:12.7533333+00:00
Noorann Tech 0 Reputation points
commented 2024-02-29T06:13:09.45+00:00
Anna Xiu-MSFT 27,811 Reputation points Microsoft Vendor
1 answer

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.
4,872 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.
10,629 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.
966 questions
asked 2024-02-27T16:42:58.3133333+00:00
Dante Santos 0 Reputation points
commented 2024-02-27T22:03:24.75+00:00
Michael Taylor 51,341 Reputation points
3 answers

Attach to process In Visual Studio 2022

I just recently started VS coding in C# with Project type: ConsoleApp I use.NET 8.0, or whatever it's called because it's the newest version. I created my first project and wrote the basic "Console.WriteLine("Hello World");" I try…

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.
10,629 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.
966 questions
asked 2024-02-20T02:14:05.06+00:00
Vortex Studios 0 Reputation points
answered 2024-02-26T07:39:20.47+00:00
Tianyu Sun-MSFT 29,356 Reputation points Microsoft Vendor
1 answer

Debugging Blazor Web Assembly app in Visual Studio

Hi, I am using Visual Studio 2022 professional version 17.7.4 (64 bit) I have created a blazor web assembly project with individual user accounts. When trying to debug Blazor application at first it worked but then once It stopped hitting breakpoints…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,385 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,496 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,872 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.
966 questions
asked 2024-02-23T14:30:27.26+00:00
Piyush Meshram 20 Reputation points
edited an answer 2024-02-26T06:12:36.6933333+00:00
Ruikai Feng - MSFT 2,551 Reputation points Microsoft Vendor
1 answer

I keep having issues with the dependent assemblies of Azure.AI.FormRecognizer.4.1.0 in visual studio c# project

WARNING! There was an error parsing the document Hello, I'm trying to test the Azure.AI.FormRecognizer.4.1.0 in visual studio .net framework 4.8.1 library project solution. Now I've the version 6.0.0.1 of System.Diagnostics.DiagnosticSource in my…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,872 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.
966 questions
asked 2024-01-30T17:02:19.7566667+00:00
Diallo, Mouhamadou S 0 Reputation points
commented 2024-02-22T15:22:16.6+00:00
Michael Taylor 51,341 Reputation points
1 answer

VS 2022 debugger has gone to useless

So yesterday I had a Null Exception and it would fire even in a try. Now when I get an exception i get the following: | | ||Name|Value|Type| ||teamRoster|Local variables and arguments are not available in '[Exception]' call stack frames. To obtain…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,872 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 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.
966 questions
asked 2024-02-22T14:25:22.1233333+00:00
Lloyd Sheen 1,476 Reputation points
answered 2024-02-22T15:21:10.7+00:00
Lloyd Sheen 1,476 Reputation points
0 answers

powershell debugging on vscode on macOS

Hi I newly started learning powershell. I want to write script. I installed visual studio code(1.86.0) on my macOS (14.2.1). I have also installed vscode extention of powershell. Powershell is installed on the terminal and works fine but I am not able to…

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.
966 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,310 questions
asked 2024-02-18T08:10:55.6566667+00:00
Paresh Mhetre 0 Reputation points
edited the question 2024-02-18T08:11:46.86+00:00
Paresh Mhetre 0 Reputation points
0 answers

visual studio C++ starting with 478 errors in "external dependencies"

when i create a new C++ project, it starts with 479 errors in "external dependencies" when i run it, it askes if i would like to run the last successful build, if i select yes it errors with "unable to start program 'C:\users(my…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,872 questions
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,629 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.
966 questions
asked 2024-02-16T08:28:28.81+00:00
bob hamtom 0 Reputation points
commented 2024-02-16T13:54:02.02+00:00
Tianyu Sun-MSFT 29,356 Reputation points Microsoft Vendor
2 answers

vs2013 - projects marked out of date caused by other projects touching .lastbuildstate file

VS2013: How do I keep a project from touching another's project lastbuildstate? I have 10 projects that have their lastbuildstate being touched by another project. I believe because the timestamps on the the .lastbuildstate don't match other other files…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,872 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.
966 questions
asked 2023-04-04T01:07:33.6933333+00:00
Morgan, Scot 0 Reputation points
answered 2024-02-15T05:16:31.5366667+00:00
Reza Shobeiri 0 Reputation points
1 answer One of the answers was accepted by the question author.

Debugger Only Shows Integer Values As Hex, Not Base 10

Hello Folks: I'm using Visual Studio Community on Windows 10 Pro to develop C++ code. Yesterday my copy of Visual Studio learned a new trick when I'm debugging code. Any integer variable displayed in a watch window or being hovered over is displayed…

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.
966 questions
asked 2024-02-10T01:49:42.7+00:00
a_unique_name 401 Reputation points
commented 2024-02-10T07:19:30.01+00:00
a_unique_name 401 Reputation points
0 answers

how to fix 0xc000007b error while using wimlib

#include<iostream> #include<stdio.h> #include<comdef.h> #include<windows.h> #include<string> #include<tchar.h> #include<regex> #include"wimlib.h" #pragma comment(lib,"libwim.lib") using…

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.
966 questions
asked 2024-02-09T06:55:26.1766667+00:00
Never Gonna Give You UP 0 Reputation points
commented 2024-02-09T08:41:03.1366667+00:00
Tianyu Sun-MSFT 29,356 Reputation points Microsoft Vendor
1 answer

Visual Studio (2017 through 2022) Property Dialog not showing control Properties

Been working on a project and suddenly not able to access properties for controls, either usercontrol or basic/standard controls. When I first load the form from code (shift F7), rather than the toolstrip showing up, it shows the code that I was just…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,872 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.
966 questions
asked 2024-02-06T22:37:02.4466667+00:00
Pat Sinclair 20 Reputation points
commented 2024-02-09T07:49:40.4266667+00:00
Tianyu Sun-MSFT 29,356 Reputation points Microsoft Vendor
1 answer

Unable to start debugging, Android, .NET MAUI, VS2022 Preview

I have problem with debugging Android app in .NET MAUI in VS2022 Preview 17.3.0 1.1. The project is not building. This error shows up to me: I can't find information about this error for VS2022.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 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.
966 questions
asked 2022-06-02T09:12:21.593+00:00
zc 51 Reputation points
commented 2024-02-07T05:30:48.6866667+00:00
Billy Lim 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to disable auto break execution when using vsjitdebugger.exe

When using Visual Studio Just In Time Debugger (vsjitdebugger.exe) the debugger breaks execution of the attached program automatically on startup. How can I disable this? The debugger is paused in exe_winmain.cpp: extern "C" DWORD…

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.
966 questions
asked 2024-01-31T00:47:38.9633333+00:00
Trent Cooper 20 Reputation points
edited a comment 2024-01-31T22:02:22.1666667+00:00
Trent Cooper 20 Reputation points
3 answers One of the answers was accepted by the question author.

The error list of the current Visual Studio document keeps disappearing

The error list of the current document keeps disappearing I am in the middle of debugging Visual Studio and the error list of the current document keeps on disappearing. How can I prevent this? This keeps happening on and off, and after a new…

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.
966 questions
asked 2021-10-08T00:08:28.913+00:00
tovia schlesinger 241 Reputation points
answered 2024-01-30T12:18:20.8066667+00:00
B.Laavanya 0 Reputation points
1 answer

The specified port is in use

Error.jpg When I try to debug my code in VS2022, I get the attached error. I have confirmed the only app that is using this port is VS2022, and only after I click the 'Play' button. I have tried restarting VS2022, restarting the computer, and even…

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.
966 questions
asked 2024-01-15T18:25:07.6166667+00:00
Christopher Holland 0 Reputation points
commented 2024-01-30T03:34:01.45+00:00
Anna Xiu-MSFT 27,811 Reputation points Microsoft Vendor
1 answer

Problems using VS200 remote debugger - not loading symbols. PE / COFF header issue

I'm building a C++ app in VS2022. I'm remote debugging a (in-house) dll that is loaded by the app. However, the symbols for the dll do not get loaded, as the symbol file does not match the source code. The issue seems to be the time and date stamp in the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,872 questions
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,629 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.
966 questions
asked 2024-01-29T12:31:40.91+00:00
answered 2024-01-29T15:26:10.27+00:00
7 answers

Program not running in Visual Studio 2019

Hello, I just installed Visual Studio 2019 onto my laptop and I can't run or debug anything since I installed the program. I am assuming I have nothing in my "solutions". Is that why nothing is working? I appreciate if someone can guide me…

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,629 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.
966 questions
asked 2021-04-04T00:03:24.057+00:00
Hieu HO 1 Reputation point
answered 2024-01-27T13:57:11.5466667+00:00
مقصود احمدی 0 Reputation points
1 answer

Visual Studio 2017 - how to point debug symbols for diagsession generated on the other machine

I use Visual Studio 2017. I open diagsession file generated on other machine. Output window shows that symbols have not been loaded, for example: Symbols failed to load for C:\Workspace\App\libA.dll. Cannot find or open the PDB file. I have built…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,872 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.
966 questions
asked 2022-02-03T13:16:34.757+00:00
Irbis 1 Reputation point
commented 2024-01-25T12:05:54.28+00:00
S Walsh 0 Reputation points