961 questions with Visual Studio Debugging tags

Sort by: Updated
0 answers

Unhandled exception at 0x0056FC80 in Assignment7.exe: 0xC0000005: Access violation executing location 0x0056FC80.

Unhandled exception at 0x0056FC80 in Assignment7.exe: 0xC0000005: Access violation executing location 0x0056FC80. When I click build, it is successful but I keep getting this when im debugging! can someone help me fix this? .386 .model flat,…

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.
961 questions
asked 2024-04-18T05:14:21.8033333+00:00
Ethan Russell 0 Reputation points
edited a comment 2024-04-18T11:56:43.0233333+00:00
Viorel 114K Reputation points
1 answer

Code error when building Unreal Engine 5 Source Code in Visual Studio 2022

Hello! Preword: I’m a newbie in this and looking to get started out and learn as much as I can. I’m attempting to build the source code version of Unreal Engine 5 via Visual Studio and I’ve run into an error after building. Up to this point, I've…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,792 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.
961 questions
asked 2023-01-23T19:58:22.9833333+00:00
Matt Stein 5 Reputation points
commented 2024-04-18T08:50:54.9866667+00:00
航 许 0 Reputation points
1 answer

can not find path for sqlite db in Maui app

i try to create local sqlite db in maui app . private const string DbName = "SweetsShopDb.db3"; private static string DbPath => Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData),…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,792 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,081 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,524 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.
961 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.
334 questions
asked 2024-04-17T07:00:39.2033333+00:00
amr yakout 40 Reputation points
answered 2024-04-18T07:50:38.5666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,061 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

how do i verify access?

My code couldn't run because i couldn't attach somthing and now im trying to reinstall this x64runtime and it couldnt download it for some reason

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,987 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,792 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.
961 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.
990 questions
asked 2023-12-19T21:02:15.08+00:00
Ilan Slavin 25 Reputation points
commented 2024-04-17T20:08:16.6+00:00
Pranshu Prajapati 0 Reputation points
1 answer

Local windows debug in visual studio not there?

I'm new to programming and wanted to set up a c compiler with visual studio. There's supposed to be a button 'Local Windows Debug' where you debug your program. That one is not there. How can I get that? (I'm not using Linux, but Windows 10)

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,792 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.
961 questions
asked 2023-04-14T21:12:54.4866667+00:00
Sarah Kay 0 Reputation points
commented 2024-04-17T02:45:39.4766667+00:00
Student Ed 0 Reputation points
0 answers

Why VB.Net projects that were working OK suddenly fails to start now?

Hi all, I have written many trial projects using VS 2013, VS 2019 and they were working fine for few years; Since the 1st week of March 2024, when I click "Start Debugging" / "Start without Debugging" any of those projects in Visual…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,637 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.
961 questions
asked 2024-04-11T09:06:20.93+00:00
VKSB 216 Reputation points
commented 2024-04-15T07:14:47.2466667+00:00
Jiachen Li-MSFT 27,836 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Inconsistent Window Focus Behavior: Debugging vs. Running Without Debugging

In my application, I have a MainWindow that inherits from System.Windows.Window. Within this MainWindow, there's a System.Windows.Controls.Button. Clicking this button triggers the opening of a second window, also inheriting from System.Windows.Window.…

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,524 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.
961 questions
asked 2024-04-06T20:02:00.2033333+00:00
Asya Yesayan 20 Reputation points
accepted 2024-04-10T11:08:24.3166667+00:00
Asya Yesayan 20 Reputation points
0 answers

Blazor hangs when debugging with authentication

Am I the only one who experience that 9 of 10 times Blazor hangs with this message when I use authentication, and after I have logged in?   Any hints on how to get past this issue?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,545 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,460 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,524 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.
961 questions
asked 2024-04-07T11:22:21.7633333+00:00
Finn Arildsen 21 Reputation points
commented 2024-04-08T02:24:20.6933333+00:00
Tiny Wang-MSFT 2,091 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

IoTHub ingest function to azure digital twin (failed)

I have created a function app for iot hub ingest telemetry data to azure digital twin using visual studio 2022 and the function is successfully being published but the data is fail to deliver. The following is my function app code: The figure below is…

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
223 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,513 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,146 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.
961 questions
asked 2024-04-03T01:54:09.4+00:00
TEE WEI KIAT 40 Reputation points
commented 2024-04-03T17:30:13.12+00:00
TEE WEI KIAT 40 Reputation points
1 answer

PDB file contains wrong file path

Hi, I was building the SmartStore application: https://github.com/smartstore/SmartStoreNETin debug mode to generate pdb files. The pdb file generated contains wrong file name Example: real path: src/Libraries/SmartStore.Core/Collections/MultiMap.cs path…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,545 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.
961 questions
asked 2024-04-02T12:09:09.27+00:00
Abhijith CV 0 Reputation points
answered 2024-04-03T13:56:13.4533333+00:00
RLWA32 42,081 Reputation points
1 answer One of the answers was accepted by the question author.

Exception: "Element Not Found" while calling StartDoc() in Visual Studio 2022 debugger

I am attempting to print from a Desktop application using the following APIs: StartDoc (...) StartPage (...) TextOut (...) When I run my application using Visual Studio 2022 Debugger, StartDoc() throws an exception as shown in the image below.…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,485 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.
961 questions
Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
649 questions
asked 2024-03-28T09:23:17.2666667+00:00
Shyam Butani 160 Reputation points
accepted 2024-04-02T05:57:33.0333333+00:00
Shyam Butani 160 Reputation points
1 answer One of the answers was accepted by the question author.

97 Unresolved Symbols in glfw3.lib

Hello, I have been creating a project using OpenGL, namely glfw3.lib. I've done this before in another project, but this time it isn't working, and I cannot figure out the difference between this new project and the working one. The issue is…

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,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.
961 questions
asked 2023-01-03T16:58:30.46+00:00
Alex Kent 26 Reputation points
commented 2024-04-01T07:44:38.1666667+00:00
艺伟 牛 0 Reputation points
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,524 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.
961 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 41,736 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,792 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,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.
961 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 28,846 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,792 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,524 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.
961 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 28,846 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.
961 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,545 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.
961 questions
asked 2024-03-08T10:27:07.2366667+00:00
edited the question 2024-03-26T03:05:56.1266667+00:00
Tianyu Sun-MSFT 28,846 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.
961 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.
334 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 28,846 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,792 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.
961 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.
990 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,602 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.
190 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.
961 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