115,981 questions
Score of 0
0 answers
24 views
Menu option doing cmake --fresh --preset in VS 2026
I would like to have the feature of "cmake --fresh --preset" in Visual Studio 2026, where every change in the preset will be mapped to CMakeCache.txt without wiping out the build folder. ...
Score of -2
0 answers
92 views
DevExpress extensions won't install into Visual Studio 2026 (any version before 25.2)
I have a valid DevExpress 24.2 license and moved to Visual Studio 2026. The DevExpress Visual Studio extensions are gone — the .repx report designer, the XPO visual designer and the layout wizards are ...
Score of 1
0 answers
101 views
Creating a custom toolbar with VisualStudio.Extensibility causes standard toolbars (e.g. , debug ) to become disabled
I have previously written some Visual Studio extensions using the VSSDK, but I have just started to understand the newer method using VisualStudio.Extensibility. I have written my first extension ...
Score of 2
1 answer
67 views
List of vswhere.exe properties
Is there anywhere a list of properties that are supported by vswhere?
The documentation has only a list of examples, from which I can, for example, learn that I can get the Visual C++ installation ...
Score of 1
2 answers
308 views
VS2022 not detecting uninitialised memory read via pointer
Visual Studio 2022 can detect uninitialised C++ variables at runtime and report an error. However, it appears to only work for variables that are global or stack-based. Heap-based uninitialised ...
Score of 1
1 answer
79 views
Can I limit ClickOnce deployment through VS by Git branch?
I have a large project with the following branching scheme:
/dev is the default, protected, branch, all changes get merged into there through MRs.
/release is the branch reflecting what is currently ...
Score of -2
1 answer
374 views
Option 'target=ES5' has been removed. Please remove it from your configuration, after Visual Studio 2026 update [closed]
Just updated Visual Studio 2026 (as the IDE said an update was available).
Edition: Visual Studio 2026 Community
Release: July 2026 Feature Update
Version: 18.8.0
Operating System: Windows 11 Pro
...
Score of 3
1 answer
202 views
Mixed-mode debugging (C++ MFC + C++/CLI + .NET 10) not hitting native breakpoints
I am working on an enterprise project involving a native MFC C++ application that interacts with a .NET 10 library via a C++/CLI bridge DLL.
The setup:
Host: Native MFC C++ application.
Bridge: C++/...
Score of 1
0 answers
70 views
Visual Studio "Add Identity" scaffolder cannot select existing User class as IdentityUser and doesn't show file selection checklist
I'm scaffolding ASP.NET Core Identity into an existing project using Visual Studio 2026.
After right click on the project and select "Add > New Scaffolded Item > Identity", the ...
Score of 0
1 answer
104 views
How to use the "JavaScript Express Application" project type in Visual Studio 2026?
I've recently started looking into developing a client side JavaScript application, that should run on pure client side JavaScript.
With this I've come across the "JavaScript Express Application&...
Score of 7
1 answer
224 views
Is there any way to make Microsoft's swprintf implementation standards-conforming?
Microsoft's implementation of swprintf from MSVC is non-standard. In particular, the ISO C standard requires that swprintf use %s to correspond to a char* argument and requires using %ls to ...
Score of 2
1 answer
213 views
C language error with passing a 2D array as an argument to function
I have a question about my code :
#include <stdio.h>
void draw_a_square(int row,int column, int grid[10][10]){
for(int r = 0; r < row; r++){
for(int c = 0; c < column; c++){
...
Score of 0
1 answer
170 views
How to use a different AI agent (not GitHub Copilot) in Visual Studio's Agent Mode?
Visual Studio (2022) has an "Agent Mode" feature that lets AI act autonomously on tasks in the editor, but by default it's tied to GitHub Copilot.
I'd like to use a different AI agent/model (...
Score of 0
1 answer
138 views
Extract code in a new partial class from Blazor Razor page using Visual Studio 2026
In Visual Studio 2022, when I want to create the code behind for a Razor page, I used to right-click on the code and select an option to refactor the code into a partial class.
Now, using Visual ...
Score of 0
1 answer
112 views
ASP.NET Core Web API project not accessible under localhost address
I have a C# ASP.NET Core Web API project that I want to run locally. I pulled it from git and started it, and it prompted me for an admin password, which I couldn't provide due to company policies.
...