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. …
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…
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…
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…
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…
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…
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…
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 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…
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…
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…
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 (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…
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.
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…
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…
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…
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…
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…
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…