1,033 questions with Visual Studio Debugging tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

VS 2022 - PowerShell script in Pre-build event field

Hi, I would like to put a script in the pre-build event field but it does not work and I can't see why - out of VS direct in PowerShell the script works I put this text script in the field and got 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,033 questions
asked 2025-03-12T18:44:45.7766667+00:00
Jim Jupiter 40 Reputation points
accepted 2025-03-13T08:33:39.66+00:00
Jim Jupiter 40 Reputation points
0 answers

In VS2022, VB hot reload never works, claiming ENC0005, when Handles is not relevant

In this code, deleting either LstLog line text while at the breakpoint evinces the problem. You can use Debug. instead of LstLog. Private Sub mnuLogShown_Click(sender As Object, e As EventArgs) Handles mnuLogShown.Click …

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,033 questions
asked 2025-03-07T05:07:54.19+00:00
peter rumsey 0 Reputation points
commented 2025-03-13T03:15:12.12+00:00
peter rumsey 0 Reputation points
0 answers

MSBuild Build Error with ImageList in Windows Forms C#

Details Encountering build errors when using the ImageList control in a Windows Forms application built with C#. The following errors are present after attempting to run the program: Errors: Task host node exited prematurely. Diagnostic information may…

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,033 questions
asked 2025-03-10T05:16:22.89+00:00
Mahmoud Khaled 0 Reputation points
commented 2025-03-12T12:31:13.39+00:00
Tianyu Sun-MSFT 33,551 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

how to fix the debugger in visual studio code

My debugger is not working. I guess there is some problem with the configuration but it is not working. Everytime i try to debug it show 'Configuration 'C/C++: gcc.exe build and debug active file' is missing in 'launch.json'. Please help me configure the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 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,033 questions
asked 2024-07-29T13:50:02.1566667+00:00
Bhavya Jain 20 Reputation points
answered 2025-03-05T18:14:49.0833333+00:00
Ivars Jakovics 0 Reputation points
1 answer

ReportViewer Tasks in c# in visual studio

hello, the option to design a new report does not appear in ReportViewer Tasks in c# in visual studio 2022

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,033 questions
asked 2025-03-01T22:52:18.92+00:00
Ali KARACA 0 Reputation points
commented 2025-03-05T14:03:17.24+00:00
Tianyu Sun-MSFT 33,551 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

team explorer, undo changes "are you sure" window doesn't show up

all of the changes that i make to a project show up in my team explorer, i can usually undo these by : right click - undo 1st window pops up with all of the item and tickboxes and you can select which one to undo, once you have selected what to undo…

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,033 questions
asked 2025-03-03T13:44:38.3433333+00:00
Riccardo Santorelli 20 Reputation points
accepted 2025-03-05T10:59:18.34+00:00
Riccardo Santorelli 20 Reputation points
1 answer

Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll

My application running on Windows server 2016 keeps crashing. I have updated the .Net Framework to 4.8. But the issue still persists. I have replaced application specific data with xxx in the log details below. Any suggestions for me to try and fix…

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,033 questions
asked 2025-02-28T16:00:22.73+00:00
Jayanthi Iyer 0 Reputation points
commented 2025-03-05T08:52:03.75+00:00
Dou Xu-MSFT 400 Reputation points Microsoft External Staff
1 answer

How to disable in Runtime deleting records in a Gridview

i am working on a aspx page and vb.net how can i disable deleteing rows for some user from a gridview looking forward

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,033 questions
asked 2025-03-03T22:48:25.9166667+00:00
Simon 426 Reputation points
commented 2025-03-04T09:06:41.2866667+00:00
Dou Xu-MSFT 400 Reputation points Microsoft External Staff
1 answer

The Extender Provider failed to return an Extender for this object.

This error resulted from trying to view a Form in VS 2022. I do not know where to look to find out what this error implies.

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,033 questions
asked 2025-03-01T12:22:18.76+00:00
DM Egle 20 Reputation points
answered 2025-03-03T02:46:46.16+00:00
Anna Xiu-MSFT 30,926 Reputation points Microsoft External Staff
2 answers

Visual Studio c++ debugging doesn't start.Turns on and off per second.

you can see int picture. I try something but doesn't work. 1)I deleted my antivirus program. 2)Upgrade my windows and visual studio. 3)Try tools>options>debugging>symbols tick but this doesn't work. I need a help in…

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,878 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,033 questions
asked 2020-12-06T02:13:09.857+00:00
Murat Altuntas 1 Reputation point
commented 2025-02-28T18:53:43.1166667+00:00
Tadej S 0 Reputation points
3 answers

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,033 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,052 questions
asked 2024-11-04T16:48:00.14+00:00
Chris Hurtig 25 Reputation points
edited an answer 2025-02-25T15:44:43.6866667+00:00
dlchnr 0 Reputation points
5 answers

Visual studio 2022 is not responding ,technically stops responding when i want to run the codes

Hey guys . For the past week visual studio has been slow ,it takes forever to launch , it doesn't want to display forms (whenever i press the start run thing after coding it will just freeze after a while it will say visual is not responding maybe after…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 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,033 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,052 questions
asked 2023-04-13T18:47:44.6733333+00:00
56140202 15 Reputation points
edited an answer 2025-02-25T02:08:13.1533333+00:00
Marc Roussel 0 Reputation points
0 answers

How to fix microsoft .NET Framework error

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at…

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,033 questions
asked 2023-02-20T22:45:34.9566667+00:00
monster gamer47 0 Reputation points
commented 2025-02-24T13:37:46.7566667+00:00
dz 0 Reputation points
0 answers

I am using VS 2022 .Net 8 to create a container image of ASP.Net Web API application but dot net publish command is failing

I am using VS 2022 .Net 8 to create a container image of ASP.Net Web API application but dot net publish command is failing with below error: Building image 'dockerdemo' with tags 'latest' on top of base image…

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,033 questions
asked 2025-02-21T13:53:46.1433333+00:00
Priyadarshi, Pankaj 0 Reputation points
commented 2025-02-24T06:19:02.43+00:00
Anna Xiu-MSFT 30,926 Reputation points Microsoft External Staff
1 answer

Property "xy" not found in 'ViewModel'

code on GitHub: https://github.com/edikaufmann/RandoJson In 'DetailsPage.xaml' I get below error ..... ..... Binding: Property "Name" not found on "RandoPro.ViewModel.RandoDetailsViewModel" PS: 'Name': is properly defined in my…

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,033 questions
asked 2025-02-21T08:37:07.37+00:00
Eduard Kaufmann 291 Reputation points
answered 2025-02-23T07:38:31.3966667+00:00
Eduard Kaufmann 291 Reputation points
1 answer

D365 FinOps Microsoft.Dynamics.Framework.Tools.BuildTasks

Hi everyone, I'm wondering if anyone else has encountered this issue. I recently set up Visual Studio Professional 2022 with specific extensions (PowerPlatform & D365 FinOps assets). I believe there's a problem with the installation because when I…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 questions
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.
252 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,033 questions
asked 2025-02-12T08:09:18.5666667+00:00
Marina Suarez Blazquez 0 Reputation points
commented 2025-02-13T08:13:59.2033333+00:00
Marina Suarez Blazquez 0 Reputation points
1 answer

default.natstepfilter not working any more with VS 2022

The C++ debugger steps into all functions, regardless if they are excluded like this <Function><Name>T*operator-></Name><Action>NoStepInto</Action></Function> in default.natstepfilter

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,033 questions
asked 2025-01-28T20:24:52.9266667+00:00
Fabian 0 Reputation points
commented 2025-02-11T06:08:55.49+00:00
Dou Xu-MSFT 400 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

ms visual studio launcher "Sorry, something went wrong"

Yolo, so i started working on a webapp, vs was working fine, then i went to grab lunch and i got this error: i went through every thread on google, tried all the solutions i could find. and now im here, attached below is the part of the log that…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 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,033 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,112 questions
asked 2025-01-30T16:14:23.26+00:00
Apple Pine 20 Reputation points
commented 2025-01-31T12:46:00.28+00:00
Apple Pine 20 Reputation points
1 answer

How to fix error I want to run C# in VS code but it give me error

'dotnet' is not recognized as an internal or external command, operable program or batch file. . .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path. 2025-01-29 08:52:17.031 [info] Did not find .NET…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 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,338 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,033 questions
asked 2025-01-29T03:51:22.9633333+00:00
Tanzeela Fatima 0 Reputation points
commented 2025-01-31T05:59:23.6366667+00:00
Dou Xu-MSFT 400 Reputation points Microsoft External Staff
10 answers One of the answers was accepted by the question author.

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 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,033 questions
asked 2022-02-07T07:03:40.79+00:00
GHANASHYAM SATPATHY 306 Reputation points
commented 2025-01-29T23:15:20.2533333+00:00
idube101 0 Reputation points