1,113 questions with Developer technologies | Visual Studio | Debugging tags
Can't start the default Azure Function in Visual Studio 2022
Visual Studio 2022 17.14.7 Core Tools Version: 4.0.7317 Commit hash: N/A +5ca56d37938824531b691f094d0a77fd6f51af20 (64-bit) Function Runtime Version: 4.1038.300.25164 Following the quick start…
Developer technologies | Visual Studio | Debugging
How to Debug Remote MAUI App Launch
I have a .NET 9 MAUI app being deployed to a remote Xcode iOS iPhone 16 Plus. All components have the latest release software. The deployment is successful, and the application is launched and the splash screen displayed on the phone. However, the first…
Developer technologies | Visual Studio | Debugging

Can't Deploy to Analysis Service Get Error
Hello, I have a new computer, new install of visual studio 2022 community and Analysis Services Project installed. I can't deploy my tabular project to SQL 2019 Analysis Services. I get the following error: See the end of this message for details on…
Developer technologies | Visual Studio | Debugging
Microsoft Defender Graph API: Only Device Score Retrieved, Others Are Zero — Why?
Hi everyone, I'm using the Microsoft Graph API (Security > Secure Scores endpoint) to retrieve category-wise scores (Device, Identity, Apps, Data) from Microsoft Defender for Endpoint. I'm successfully getting the Device Score, but the values for App…
Developer technologies | Visual Studio | Debugging
All other products, downloads and keys have been removed from the subscriptions.
TLDR: Effective June 5, 2025, Pacific time zone, the Visual Studio Enterprise benefit will be tiered according to Ambassador milestone. All Ambassadors should immediately take steps to ensure:
Developer technologies | Visual Studio | Debugging
Visual Studio Code - unable to change the size of a window
Hello, I have a code written by python that allows me to access web (via Selenium) but I cannot change the window size even though it´s not headless mode. Because of that I don´t see all elements and I cannot click them. For example I had to make…
Developer technologies | Visual Studio | Debugging
Error APT 2144 in Android.NET Upgrade
I am upgrading a long-term Android.Xamarin project to an Android.NET project and trying to build the new .NET project in VS 2022. When building the app in Debug or Release mode I get the following error: APT 2144 invalid file path 'E:\Android…
Developer technologies | Visual Studio | Debugging
Starting release version of an app crashes VS consistently
I have a UWP app. When I start the debug version from VS, everything is flawless. When I try to start the release version (i.e., the .Net Native version), VS shows the following error, then crashes. This is 100% reproducible. I tried half a dozen times…
Developer technologies | Visual Studio | Debugging
Issue with connection to the database through VS code
Hi, My Python code is supposed to access a database and perform a check, but the behavior is inconsistent — sometimes it works, and other times it doesn’t. I’m not sure what’s causing the issue. I’ve already added retries, delays, and other safeguards. I…
Developer technologies | Visual Studio | Debugging
Visual Studio Code does not let me type the letters a, s, or d, only in files
I can type these letters in the terminal just fine; however, I nothing shows up once I try and edit my code using these letters
Developer technologies | Visual Studio | Debugging
Unable to connect Visual Studio debugger to Azure Web App
I have a web app running in Azure. This is a mature app. I have always been able to periodically connect my Visual Studio 2022 debugger to this web app to debug code. At some point in the last month, this has stopped working. I should say that this…
Developer technologies | Visual Studio | Debugging
SerialPort.Write blocks when using multiple classes and separate COM ports
Hello dear community, After a long time, I’m reaching out to you again. Some time ago, I started a new coding project in WinUI3 that has gradually grown. Unfortunately, the code has developed quite quickly since I could only work on it in my limited free…
Developer technologies | Visual Studio | Debugging
Disabling autocompletion from spacebar in VS 2022
This problem is maddening and the only thing I've found is that 2019 isn't going to see a fix for it. I found a couple listed fixes for earlier versions to remove the spacebar from the list of keys that trigger autocomplete but not even a mention of the…
Developer technologies | Visual Studio | Debugging
Debugger help. Interrupting an endless loop?
My program appears to be stuck in an endless loop, but I have no idea where. Clicking the pause button during testing in real-time simply gives me "System.Windows.Forms.NotLoaded" error unrelated to my program and doesn't show me where it is…
Developer technologies | Visual Studio | Debugging


How do I stop VS saying External source and decompiling my code, when it has all the source files in the project?
I have a project with about 95 source files arranged in folders. Suddenly VS has decided that it needs to decompile source and marks has external sources. This is incorrect: all the sources are in the project folders. Then it stops me placing breakpoints…
Developer technologies | Visual Studio | Debugging
Dotnet 9 apps blocked by Windows security Completely
Dotnet 9 applications unable to run as its blocked by Windows security. i tried with multiple simple applicaitons console all. all blocked,same app if i change to .net 8 then it works fine. I have visual studio, sdk ,os all updated to latest. Mostly…
Developer technologies | Visual Studio | Debugging
Get error deploying to analysis services via VS 2022 Community to SQL 2019
Hello All, Hope you can help. I get an error trying to deploy my tabular package to SQL 2019 from VS 2022 community. I get a JIT error
Developer technologies | Visual Studio | Debugging
Visual Studio 2022 Build Failure Due to Shortcut Creation Issue
The solution includes a Setup Project that fails to build, causing the build process to be cancelled. This has worked previously without issues. To troubleshoot, the solution was tested on two other computers: one with Visual Studio 2019 and another with…
Developer technologies | Visual Studio | Debugging
MFC opening dialog, find starting position
Windows 11, Visual Studio 2022, C++ MFC This line is in OnInitDialog() of the class that starts when the app is started in debug mode. CWnd::GetWindowRect( &m_dialog_location_size );`` ``// Get the window rectangle The .left and .top…
Developer technologies | Visual Studio | Debugging

Debug -> "Attach to Process" in Visual Studio 2022 Professional is not adding the Script file to the Solution Explorer
Dear Microsoft team, I am trying to attach my ALM application project workflow script using the instructions provided in the below…