7,256 questions with Visual Studio-related tags

Sort by: Updated
1 answer

How to change the name of a button

Windows 11, VS 2022, Version 17.13.3, C++, MFC project I created a new MFC project, first one since the install, accepting most of the defaults.  The project opened with the initial GUI ready to edit.  A new button was added.  Right click on the new…

Visual Studio Training
Visual Studio Training
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Training: Instruction to develop new skills.
36 questions
asked 2025-03-14T20:00:59.7866667+00:00
Bryan Kelly 406 Reputation points
answered 2025-03-15T07:00:17.4933333+00:00
RLWA32 47,611 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-14T21:04:30.83+00:00
peter rumsey 0 Reputation points
2 answers

Windows Surface Laptop 7 (ARM) - VS 2022 17.12.3 - MAUI - Hot Restart iOS - Object reference not set to an instance of an object.

Hello - going a bit kookoo here. Working on a MAUI app, not updated to 9 yet. It debugs, builds and can push to test group in Google Play Store. I'll preface all this next bit with this... I was not able to test at all on a physical usb connected iOS…

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
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,006 questions
asked 2024-12-23T03:48:52.1833333+00:00
Christopher Meehan 0 Reputation points
commented 2025-03-14T18:50:57.98+00:00
Espen 6 Reputation points
4 answers

Illegal characters in path.

I am trying to create a new project through following procedure but visual studio is throwing exception

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,793 questions
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
asked 2023-03-27T02:41:25.43+00:00
Abdul Rehman 10 Reputation points
answered 2025-03-14T17:42:49.6433333+00:00
Mohammad Reza Golab 0 Reputation points
0 answers

How to access support that I purchased in Azure

I purchased a $29 per month subscription to Azure. When I go to Azure support, it brings me to Support AI Assistant (Preview) - which tells me that it is not working - when sends me back to the "the old experience" which I have fought with for…

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.
253 questions
asked 2025-03-14T15:44:12.92+00:00
Roger Swetnam 0 Reputation points
0 answers

Random MessageBox when executing tests

Hello, we are running vstest.console in Visual Studio 2022 Enterprise Edition on a Hyper-V Windows 11 24H2 virtual machine, and we randomly get the blocking messagebox you see in the screenshot below, does anyone know the cause of that and how to fix…

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.
361 questions
asked 2025-03-05T08:23:21.96+00:00
Lorenzo Zambelli 65 Reputation points
edited a comment 2025-03-14T14:39:12.6466667+00:00
Lorenzo Zambelli 65 Reputation points
1 answer One of the answers was accepted by the question author.

New resource management is a disaster!

I use VS2022, until today everything was fine (or almost), now they updated the resource management and it doesn't work anymore. I add a png file and it tells me that it must be an icon (or a byte[])! Before everything was much easier, you just had to…

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
asked 2024-09-06T09:47:00.53+00:00
Francesco 46 Reputation points
edited a comment 2025-03-14T10:57:05.4233333+00:00
Martijn Carol (DutchWorkz BV) 0 Reputation points
1 answer

Why can't I build this app at work, but I can at home?

At work I was trying to build a Blazor app that a colleague had written. It refused to work. So, when I got home last night, I tried a simpler Blazor app. It built perfectly at home. So, I then added my work account as a contributor to my personal GitHub…

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-03-11T14:12:28.7133333+00:00
Falanga, Rod, DOH 245 Reputation points
commented 2025-03-14T07:51:49.17+00:00
Dou Xu-MSFT 480 Reputation points Microsoft External Staff
1 answer

how do I resolve azure devops sign in issue ******@crmerp.ltd

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-03-13T11:19:12.08+00:00
Scott Nahajec 5 Reputation points
answered 2025-03-14T01:50:30.3466667+00:00
Dou Xu-MSFT 480 Reputation points Microsoft External Staff
2 answers

SQL71562: Unresolved Reference to Object [$(dbVariable)].[sys].[objects] After Upgrading to VS 2022 (17.12) Pro

A SQL Server Data Tools (SSDT) solution that has been used for several years includes multiple database projects, some referencing the master database and/or using [sys] tables in other referenced database projects within the same solution. This solution…

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
asked 2024-11-19T14:50:36.1533333+00:00
Jason Selburg 5 Reputation points
commented 2025-03-13T18:34:28.8366667+00:00
Yu, Michelle 0 Reputation points
2 answers

Unable to load the service index for source https://pkgs.dev.azure.com/azurecom/_packaging/OnyxNugetsFeed/nuget/v3/index.json.

1.Error: Unable to load the service index for source https://pkgs.dev.azure.com/azurecom/_packaging/OnyxNugetsFeed/nuget/v3/index.json. 2.The nuget package manager always prompts "some NuGet packages are missing from this solution. Click to…

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
asked 2023-03-06T09:10:43.4133333+00:00
commented 2025-03-13T16:25:48.7233333+00:00
Ne 0 Reputation points Microsoft External Staff
9 answers

Git Failed to start configured compare tool

When I try to use the "Compare with unmodified" button inside the "Git Changes" window I get a "Source Control - Git Failed to start configured compare tool." error popup The comparing within the "View Commit…

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
asked 2022-08-12T19:46:47.267+00:00
noah h 11 Reputation points
answered 2025-03-13T15:08:49.8933333+00:00
Fosh, Tim 0 Reputation points
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 60 Reputation points
accepted 2025-03-13T08:33:39.66+00:00
Jim Jupiter 60 Reputation points
1 answer

Test Plan report needed with test run documentation attachments / screenshots

How do I extract test point support as part of a test plan summary report? I do not see this option within the current enhanced reporting, except to include attachments from the work item itself and not the test run.

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.
361 questions
asked 2025-03-10T15:11:09.7533333+00:00
Andrew Cooley 0 Reputation points
commented 2025-03-13T08:05:01.4+00:00
Dou Xu-MSFT 480 Reputation points Microsoft External Staff
1 answer

How do I get NuGet into my list of package managers?

I'm working with a loaner laptop, but I've got to use it for now, until they give me a permanent solution. Anyway, I was trying to add a NuGet package to a .NET 8 web application I've been working on. Unfortunately, all VS 2022 will let me see if…

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-03-10T17:49:36.2366667+00:00
Falanga, Rod, DOH 245 Reputation points
commented 2025-03-13T07:00:40.2666667+00:00
Dou Xu-MSFT 480 Reputation points Microsoft External Staff
2 answers

Visual Studio 2019 kernel mode driver projects stopped generating .sys files.

Visual Studio 2019 kernel mode driver projects stopped generating .sys files. On a project folder previously built with VS2019 I delete the x86 and x64 output folders and build again. Obj files are built but the only linker output file present is…

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
asked 2021-01-25T21:13:55.383+00:00
Jack Melville 1 Reputation point
answered 2025-03-13T02:02:26.1033333+00:00
Dipsan Dhimal 0 Reputation points
1 answer One of the answers was accepted by the question author.

Visual Studio 2019 sometimes won't compile/link in new changes, resulting in inactive breakpoints?

I'm using Visual Studio 2019 Professional (version 16.7.7+30621.155), and when I'm compiling a big C++ DLL project (incl. our own static libs) the compiler and/or linker sometimes refuses to take in minor updates to the code. Scenario: I stop a…

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
asked 2020-11-11T15:36:35.817+00:00
Carl Colijn 96 Reputation points
commented 2025-03-12T19:51:44.23+00:00
Evan Vargas 0 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft Visual Studio Professional 2022 (64-bit) - Preview Version 17.14.0 Preview 2.0 will no longer compile my MAUI app

This afternoon I upgraded Visual Studio to preview 2. After doing so, my MAUI app is broken. Error (active) NU1102 Unable to find package Microsoft.Android.Ref.34 with version (= 34.0.148) Found 23 version(s) in nuget.org [ Nearest version:…

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-03-12T00:57:44.3+00:00
Steve Frase 45 Reputation points
commented 2025-03-12T15:21:08.6333333+00:00
Steve Frase 45 Reputation points
1 answer

How do I update the Visual Studio 2022 installer on an offline computer? Note that it refers to "setup.exe", not the VS main program

I had a problem removing an extension.click Modify Prompt: Failed to download installer update. Make sure you are connected to the network and try again.The installer version is 3.10.2157.28521 , The software version is is Visual Studio Community 2022…

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-03-07T06:00:11.7166667+00:00
正寅 吴 0 Reputation points
commented 2025-03-12T13:43:04.03+00:00
Tianyu Sun-MSFT 33,551 Reputation points Microsoft External Staff
34 answers One of the answers was accepted by the question author.

How to fix Visual Studio 2022 17.5 Intellisense not working

Visual Studio 2022 Enterprise Edition version 17.5.1 Intellisense and snippets are not working

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
asked 2023-03-01T12:28:36.9666667+00:00
MelvynShepherd-9518 266 Reputation points
commented 2025-03-12T13:09:31.9766667+00:00
Sebastian Tobiasz 0 Reputation points