966 questions with Visual Studio Debugging tags

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

How to use timer to automatically run JavaScript in WebView2.

Hello: For my project, I have to automatically run some JavaScript every minute in WebView2. Even I can manually click on the button to run the JavaScript and get the result, but I can’t figure out how to use timer to run the job automatically. …

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,605 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-01-21T18:58:25.26+00:00
john zyd 421 Reputation points
edited the question 2024-03-28T07:39:22.0066667+00:00
Jiale Xue - MSFT 42,401 Reputation points Microsoft Vendor
2 answers

Where can i find urctbased.dll for debug un app on a remote client - VS2019 C++

Hello, I need to debug my app on a remote client and i'm searching the debug dll ucrtbased.dll who is missing and not in the redistribuable package. How can i find it ? I can't run my project in release for the moment. I work in C++ x64 VS 2019 Thanks…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,857 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,625 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-03-27T15:33:35.23+00:00
DEMOULIN Anne-Sophie 1 Reputation point
answered 2024-03-28T02:19:44.7866667+00:00
Tianyu Sun-MSFT 29,266 Reputation points Microsoft Vendor
0 answers

How to fix Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

Using VB 2022 and I have this issue that I can not get resolved. using .net framework 4.8 and I tried using x64, x86 and nothing has worked

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,857 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,605 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-02-13T16:44:30.9733333+00:00
Tyrique 0 Reputation points
edited a comment 2024-03-27T05:57:13.7933333+00:00
Tianyu Sun-MSFT 29,266 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to select or use Visual Studio 2022 on Windows project to remotely copy and run dotnet code on Linux(arm64)

I've used the c++ remote linux, but I want to do the same thing with dotnet core on Raspberry Pi 5 or Linux? I want to compose code on Windows VS2022, and then have copied to, run and debug on target.

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-03-24T20:29:14.94+00:00
mwx 41 Reputation points
commented 2024-03-26T17:51:25.9733333+00:00
mwx 41 Reputation points
1 answer

VS2022 -debugging a function app gives me an error - Unable to attach to CoreCLR. The debugger's protocol is incompatible with the debuggee.

When I try to debug a function app in Visual Studio 2022, I gives me an error Unable to attach to CoreCLR. The debugger's protocol is incompatible with the debuggee. There is no PublishSingleFile in my csproj

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,602 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-03-08T10:27:07.2366667+00:00
edited the question 2024-03-26T03:05:56.1266667+00:00
Tianyu Sun-MSFT 29,266 Reputation points Microsoft Vendor
0 answers

DevOps Build. How to build a multi-project solution (Windows Service) that has a windows forms test harness

We have an old Windows service I am trying to move to GIT and DevOps (on prem). The service project builds off of 3 other projects in the solution however there is a 5th project which is a windows forms app that we use to develop and debug. I would…

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
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.
337 questions
asked 2024-03-23T23:11:01.74+00:00
McAninch, Robin 51 Reputation points
commented 2024-03-25T09:50:21.5566667+00:00
Tianyu Sun-MSFT 29,266 Reputation points Microsoft Vendor
3 answers

How to resolve error (3074,5)

I want to publish my code. But i am facing this error. C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\Web\Microsoft.Web.Publishing.targets(3074,5): Error : Copying file…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,857 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
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,007 questions
asked 2023-04-11T11:52:29.52+00:00
vaishali tyagi 0 Reputation points
commented 2024-03-23T16:22:22.9233333+00:00
jordiestrada 0 Reputation points
1 answer

VS2019: C++ : Custom File Debug Edit & Continue is not working with Breakpoints.

Following MS link Specifying Custom Build Tools | Microsoft Learn I have integrated custom build tool for our Custom file conversion to CPP, which on regular Project build takes care of conversion from custom file to CPP file and building executable…

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,625 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.
191 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-13T11:05:40.5266667+00:00
Peeyush Chaurasia 0 Reputation points
edited a comment 2024-03-22T06:49:33.3533333+00:00
Peeyush Chaurasia 0 Reputation points
0 answers

ASP.NET and Angular throwing runtimeExecutable error

I am using the latest Visual Studio (2022 community). I am using the .NET and Angular template. However upon running the app by pressing the green arrow in the toolbar I receive this error, however, the browser window still gets launched. Visual Studio…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,857 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-03-14T19:17:51.4166667+00:00
Filip Studeny 0 Reputation points
edited a comment 2024-03-20T08:53:54.56+00:00
Tianyu Sun-MSFT 29,266 Reputation points Microsoft Vendor
3 answers

Launch debugger as sudo on remote linux machine

Hello everyone ! I am working on a program using visual studio 2022 for a remote linux machine ( a raspberry pi ). Everything seem to be working fine but i now need to launch the program as administrator to access some fonctionalities . So my question…

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,383 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,625 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-09-08T06:40:05.3533333+00:00
Nakame 0 Reputation points
commented 2024-03-20T08:08:20.1566667+00:00
Nermin Ziric 0 Reputation points
1 answer

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

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,857 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
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.
337 questions
asked 2024-03-07T15:57:01.87+00:00
Vivek Kahar (Student) 0 Reputation points
commented 2024-03-20T05:26:00.8466667+00:00
Tianyu Sun-MSFT 29,266 Reputation points Microsoft Vendor
1 answer

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…

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-03-17T00:45:06.4533333+00:00
William Roberts 0 Reputation points
answered 2024-03-18T10:03:17.56+00:00
Tianyu Sun-MSFT 29,266 Reputation points Microsoft Vendor
1 answer

vs code terminal is not working

i have been having this problem from past 3 months couldnot find the solution in youtube also

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
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,007 questions
asked 2022-11-08T15:13:21.477+00:00
thanatos 6 Reputation points
commented 2024-03-16T17:44:07.28+00:00
vivek chandak 0 Reputation points
0 answers

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…

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-03-13T07:14:24.5466667+00:00
Prachi Godse 0 Reputation points
commented 2024-03-13T14:09:01.7266667+00:00
Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor
1 answer

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,857 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
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,888 questions
asked 2024-02-26T10:20:55.8666667+00:00
محمد الزعبي 0 Reputation points
commented 2024-03-12T13:47:57.91+00:00
Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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…

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,605 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-03-10T19:40:13.06+00:00
commented 2024-03-11T18:11:22.96+00:00
3 answers

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…

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,605 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-10-05T08:57:22.1533333+00:00
Ladislav Hochman 25 Reputation points
answered 2024-03-07T10:35:26.3266667+00:00
Egbertn 6 Reputation points
1 answer

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
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,857 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-03-06T13:26:25.3066667+00:00
Muhammad Fasih Akbar 0 Reputation points
answered 2024-03-07T06:21:03.7833333+00:00
Tianyu Sun-MSFT 29,266 Reputation points Microsoft Vendor
3 answers

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,857 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
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,007 questions
asked 2021-03-19T15:48:32.513+00:00
Leonardo Kevin Japri 1 Reputation point
commented 2024-03-04T14:16:11.0466667+00:00
anass nassim 41 Reputation points
1 answer

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

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-03-01T01:43:37.72+00:00
Rafael Fernandes 0 Reputation points
edited an answer 2024-03-03T23:33:05.5366667+00:00
Mahmoud Ashraf Mahmoud Eid Elsayed 20 Reputation points