116,196 questions
0
votes
0
answers
33
views
ASP.NET WebForms: Adding StaticFileModule Rule for XML causes “Duplicate Entry” error and breaks Index.aspx
I'm running into a specific issue with my web.config when trying to serve XML files.
As soon as I add this rule:
<add name="XmlFile" path="*.xml" verb="GET,HEAD"
...
-4
votes
0
answers
26
views
My solution configuration is not well readable in Visual Studio IDE
I'm working with Visual Studio 2022, version 17.14.20.
I have different solution configurations: "Debug", "Debug Install" and "Debug Localisation".
As you can see from ...
-2
votes
0
answers
117
views
How do I make a specific .cpp file the main file for testing in Visual Studio?
I made a program that just tests all the parameters (a string and three bools) for a function I made, to make sure each instance works properly. How can I make it so that instead of my Main.cpp file ...
-1
votes
0
answers
116
views
How to debug the C# COM class? [closed]
I have a simple C++ project which uses the CoCreateInstance to access and use some C# code (com-exposed class). The simple code looks like:
// ...
hr = CoCreateInstance(
CLSID_rclsid,
NULL, ...
0
votes
0
answers
24
views
How to change the font size in tooltips?
I was able to change the header font size (like this) but not the content itself.
This is how changed the tooltip header font size:
Tools → Options → Environment → Fonts and Colors => Editor ...
Advice
1
vote
1
replies
69
views
Disable focus outline color VS2026
Is it possible to disable the focus outline color in Visual Studio 2026?
Or at least change it? I would prefer something less visible than this color.
While focused on Solution explorer:
While not ...
Tooling
0
votes
1
replies
87
views
How to View Document Symbols in Visual Studio 2026?
Is there a way to display all document symbols in Visual Studio 2026?
In VS Code, I can open the Command Palette and type “@” to quickly list all symbols in the current file.
Is there an equivalent ...
1
vote
0
answers
97
views
CMake Error at CMakeLists.txt (project) - could not find any instance of Visual Studio
if you're getting an issue like this:
$ flutter build windows
CMake Error at CMakeLists.txt:3 (project):
Generator
Visual Studio 16 2019
could not find any instance of Visual Studio.
Unable to ...
0
votes
0
answers
33
views
.NET Templates in Visual Studio (extra sln/slnx being created)
I have a .NET Template that already contains a solution file as well as several projects. When instantiating this template via the CLI everything is fine. However when instantiating it via Visual ...
-4
votes
0
answers
100
views
What is the root of these errors in the build output of my VS2022 C++ project? [closed]
I have multiple .cpp files and .h files in VS2022, there are no red squiggly things under text (yeah I have no idea what to call them), and the code has forward decl. and no circular includes or ...
Tooling
0
votes
0
replies
17
views
Prevent NCrunch from updating AutoEnable in configuration file
I want to do the opposite of this question: NCrunch always disabled whenever I open a solution
I want NCrunch to be disable when I open the solution. By default it is disabled, but when I then enable ...
3
votes
1
answer
167
views
Decrease spacing/padding between items in Solution Explorer in Visual Studio 2026
Before Visual Studio 2026 Insiders [11206.111], there wasn't much spacing between items in Solution Explorer - between each item, there was little space, which made it easier to navigate.
After the ...
Advice
1
vote
1
replies
91
views
How to open the Developer PowerShell for x64/amd64?
The start menu features a Developer PowerShell for VS 2022 which defaults to x86:
PS C:\> (Get-Command link.exe).Source
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14....
Advice
0
votes
0
replies
28
views
Visual Studio intellisense is blocking my movement
When I try to write something like this:
dialogSystem.onDialogueStart.AddListener(() =\> { });
If I press arrow keys to the left from the end of the line, it takes 23 arrow clicks to reach the ...
2
votes
2
answers
79
views
All files from a forked GitHub Repo are locked (blue padlock) in VS2022 [closed]
So I am having some major issues with Visual Studio 2022 and a GitHub-forked repository. The repository is under my own GitHub account - the same one as on my VS. The problem doesn't seem to come ...
0
votes
1
answer
75
views
Windows App Forms - System.AccessViolationException Error
I m facing a System.AccessViolationException issues during executing an SSIS package using C#.
I have a parent windows form where i ask the user if he would like to proceed and if so, the parent form ...
0
votes
1
answer
58
views
Visual Studio (vcxproj) vcpkg port use: add an extra include directory
I've got a vcpkg overlay port that needs its own include/MYLIBRARY folder to be added to the C++ include system paths. In CMake, I can do this easily by calling target_include_directories() for every ...
1
vote
1
answer
69
views
MAUI app deployment to Android emulator no longer succeeds
I'm trying to run my app on the Android emulator, which has worked fine for months. Now it sits there on the Settings screen (and does not respond to mouse input). VS is stuck at "Waiting for ...
2
votes
2
answers
125
views
Visual Studio 2022 Theme Malfunction
kindly assist with setting dark mode theme for visual studio 2022 version 17.14.19. I have set dark mode theme under Tools>Theme but it applies partially on the application as shown on . Please ...
Advice
3
votes
2
replies
466
views
.NET 10 not available for Azure Functions in Visual Studio 2026 Insider
When I try to create a new Azure Functions app in Visual Studio 2026 Insider edition, I don't get .NET 10 as an option -- see below:
I do have .NET 10 as an option for other project types such as ....
0
votes
1
answer
48
views
Go To Type Definition function in Visual Studio Code
Is Visual Studio Code has tooltip Go To Type Definition function like Visual Studio or Rider, when you can go to definition by mouse clicking?
VS 2022 has option "Enable mouse click to perform Go ...
Advice
2
votes
10
replies
380
views
Visual studio vs gcc
I'm a small-scale C programmer at the moment, and I'm bugged by the question: is Visual Studio worth the annoyance that it is?
I've been programming in C and C++ in Visual Studio Code for a while, and ...
1
vote
2
answers
212
views
Visual Studio Code Coverage Reports Not Listing Or Highlighting All Tested Code
using Visual Studio 17.14.18
I'm asking Visual Studio to give me a code coverage report, which it does. But there are lots of methods being used by the completed / passing tests that are not included ...
2
votes
1
answer
64
views
Visual Studio edit file type list for find in files
How to delete an option in File types drop down of Visual Studio Find in Files?
It is easy to add an item (type into File types box), but I cannot remove a wrong option that I created, which I keep ...
-1
votes
1
answer
179
views
Multi-project solution using Docker Compose: added a new project and the container won't run when launched from Visual Studio
I have a Visual Studio 2022 solution with eight existing projects: three "ASP.NET Core Web API" projects, three "xUnit Test" projects, one "Class Library" project, and ...