1,113 questions with Developer technologies | Visual Studio | Debugging tags

Sort by: Updated
1 answer

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
asked 2025-07-02T04:32:17.5366667+00:00
Owen Chen 0 Reputation points
commented 2025-08-12T05:53:11.52+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 245 Reputation points Microsoft External Staff
10 answers

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
asked 2025-07-01T10:53:00.0633333+00:00
Marc George 191 Reputation points
commented 2025-08-12T04:08:18.2033333+00:00
Varsha Dundigalla(INFOSYS LIMITED) 795 Reputation points Microsoft External Staff
1 answer

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
asked 2025-06-25T22:26:07.1433333+00:00
Cherise Woods 5 Reputation points
commented 2025-08-11T11:47:54.8966667+00:00
Varsha Dundigalla(INFOSYS LIMITED) 795 Reputation points Microsoft External Staff
1 answer

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
asked 2025-07-28T09:28:42.94+00:00
Nandhana K 0 Reputation points
commented 2025-08-11T11:46:06.76+00:00
Varsha Dundigalla(INFOSYS LIMITED) 795 Reputation points Microsoft External Staff
2 answers

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
asked 2025-06-08T02:16:22.12+00:00
samin ali 0 Reputation points
commented 2025-08-11T10:04:04.1066667+00:00
Adiba Khan 245 Reputation points Microsoft External Staff
1 answer

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
asked 2025-08-05T10:19:54.7033333+00:00
Prchalová Tereza 40 Reputation points
commented 2025-08-11T05:54:47.76+00:00
Susmitha T (INFOSYS LIMITED) 160 Reputation points Microsoft External Staff
1 answer

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
asked 2025-07-31T17:55:44.6133333+00:00
was 0 Reputation points
answered 2025-08-08T14:23:42.9733333+00:00
was 0 Reputation points
3 answers One of the answers was accepted by the question author.

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
asked 2025-07-30T15:16:08.9033333+00:00
Hong 1,286 Reputation points
commented 2025-08-06T12:17:00.67+00:00
Hong 1,286 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-08-05T10:29:26.58+00:00
Prchalová Tereza 40 Reputation points
edited an answer 2025-08-06T09:01:19.64+00:00
Varsha Dundigalla(INFOSYS LIMITED) 795 Reputation points Microsoft External Staff
1 answer

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
asked 2025-06-17T21:42:37.16+00:00
John Zhang 0 Reputation points
answered 2025-08-06T08:47:59.4066667+00:00
Omkara Varshitha Kunapalli (INFOSYS LIMITED) 235 Reputation points Microsoft External Staff
1 answer

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
asked 2025-06-19T15:28:46.3+00:00
Nick Evans 5 Reputation points
commented 2025-08-05T04:32:33.8+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 245 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

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
asked 2025-07-20T19:27:22.7033333+00:00
Silvan Zihlmann 20 Reputation points
accepted 2025-08-04T19:04:31.8333333+00:00
Silvan Zihlmann 20 Reputation points
3 answers One of the answers was accepted by the question author.

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
asked 2022-03-05T01:02:44.72+00:00
Jingo Unchained 71 Reputation points
edited a comment 2025-07-28T09:35:24.6566667+00:00
Antony Brown 1 Reputation point
3 answers

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
asked 2022-03-09T14:02:47.237+00:00
Mugsy's RapSheet 216 Reputation points
edited a comment 2025-07-23T17:59:47.9566667+00:00
Mugsy's RapSheet 216 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2023-11-22T06:56:48.8633333+00:00
Malcolm Crowe 20 Reputation points
commented 2025-07-31T14:07:00.9433333+00:00
Manual Franco 0 Reputation points
1 answer

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
asked 2025-04-21T08:09:29.75+00:00
Anonymous
answered 2025-07-31T04:31:00.75+00:00
Son Pham 0 Reputation points
4 answers

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
asked 2025-06-25T22:28:23.8666667+00:00
Cherise Woods 5 Reputation points
answered 2025-08-04T08:40:11.46+00:00
Omkara Varshitha Kunapalli (INFOSYS LIMITED) 235 Reputation points Microsoft External Staff
1 answer

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
asked 2025-06-27T07:11:40.6133333+00:00
Sean Kozen 0 Reputation points
commented 2025-07-29T10:51:13.7133333+00:00
Adiba Khan 245 Reputation points Microsoft External Staff
1 answer

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
asked 2025-07-24T19:47:16.2833333+00:00
Bryan Kelly 516 Reputation points
edited an answer 2025-07-26T10:00:08.5566667+00:00
RLWA32 50,066 Reputation points
4 answers One of the answers was accepted by the question author.

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…

Developer technologies | Visual Studio | Debugging
asked 2025-07-27T15:48:00.7166667+00:00
Sai Nagendra Srihari Vanumu 20 Reputation points
commented 2025-07-30T12:10:20.0433333+00:00
Sai Nagendra Srihari Vanumu 20 Reputation points