Visual Studio 2022 cannot start debugging
Created a new project using C# Console app and .NET 8 Framework and I cannot run my code as it is greyed out
Cant use a GoLang http server in vs code
When i try to run my http server (written in go) in vs code, it comes up with the error: main.go:1:1: expected 'package', found 'EOF'. but it works when i write it in note pad and do it manually(not in vs code)(it dosent work even if it was created in vs…
vs code terminal is not working
i have been having this problem from past 3 months couldnot find the solution in youtube also
To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
Visual studio not able to access registered Keyset to sign assembly while building project
I have project which needs 'sign assembly' set to true while building/running. Operating system - windows 11 Installed certificate pfx with following command -i "certificate pfx file name with related file path" "container…
microsoft visual studio code 2019 work slowly when i connect to wifi
Why microsoft visual studio code 2019 work slowly when my device is connected to the Internet, the command executes very slowly, note : when I am not connected to the Internet, the program executes quickly, note2 : it is updated to the latest version…
How to fix debug button on C#, when it displays "Start" instead of windows local debugger
Hello everyone been coding for some time on Visual Studio, and recently started learning C#. Starting yesterday, i created my first few projects to see if everything works ok, and it did until today. When I opened my projects from yesterday I noticed…
Error Debugging in Visual Studio Code: 'ConnectionLostException' when attempting to run C# code
Visual Studio Code Version: 1.79 Operating System: Windows 11 Pro, 64-bit Problem Description: When attempting to debug C# code in Visual Studio Code, the following error message appears: "Your changes cannot be applied due to an unexpected…
Trying to Attach debugger in VS 2022 to an HTML page
Hi, I am running an HTML page in Microsoft Edge from a VS 2022 (say it instance 1). In another VS 2022 (say it instance 2), I have attached a debugger to the MS Edge process that is running my HTML page. The html page URL is like this:…
Visual Studio 2015 Community Edition - License Expired
Hi, I've signed in and using VS 2015 Community Edition for more than a year, but suddenly there is Expired License popup everytime I opened my VS 2015. I've tried all the tutorial provided in…
I need help to be able to use accentuation in letters within quotation marks
Hello, I need help using the accent in quotation marks. When I use this and debug my code, Visual Studio Community 2022 detects this as an error. And I don't know how I can solve this. I hope you can help me xD
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…
How to fix that running and build error in the visual studio community 2022
**Severity Code Description Project File Line Suppression State Error Project "C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\8.0.3\Sdk\AutoImport.props" was not imported by "C:\Program…
VS Code Debugger not working for python
I am experiencing debugging issue for my VS Code in WIN-10. It happened since weekend when I did OS restart . It was working fine before and I had launch.json configured too. Debugging was working fine. Any troubleshooting tips. It seems when I do…