50 questions from the last 30 days
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 ...
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 ....
-2
votes
1
answer
101
views
Why C# program (MySQL Connector/NET, .NET 8.0) compile on command prompt with csc, but not in Visual Studio 2022?
I am a novice programmer. I want to work in my 'Windows 10' with MySQL Community Server 8.4 from a C# program (platform .NET 8.0). I am using the Visual Studio Community 2022. I also use MySQL ...
-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 ...
1
vote
1
answer
70
views
Disable automatic insertion of // in the new line after another single-line comment in C++ for Visual Studio
I know how to disable auto-completion of /* ... */ comment block in Visual Studio 2022 C++ (Tools->Options->Text Editor->C/C++->Advanced->Brace Completion->Complete Multiline ...
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 ...
-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, ...
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 ...
0
votes
1
answer
80
views
How to get the contents of a SAFEARRAY on one line in the watch-window
Since recently, I'm working in C++ with COM technology, which means using SAFEARRAY objects. One of the first challenges is seeing the contents of such an object: in the watch-window, such an object ...
-6
votes
0
answers
89
views
visual studio not finding system.collections.generic [closed]
I am trying to use a list of a custom type and I am unable to add system.collections.generic. the List is not offering to add the using statements. I have tried adding the namespace manually and using ...
-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 ...
1
vote
1
answer
86
views
New line in github copilot chat in Visual Studio
How to enter a new line in github copilot chat in Visual Studio (NOT Visual Code)?
I've tried:
ENTER: submits
SHIFT+ENTER: submits
CTRL+ENTER: submits
ALT+ENTER: ignored
Using Visual Studio 2022.
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
1
answer
121
views
Open and run multiple cpp files simultaneously in Visual Studio
I’m using C++ in Visual Studio, and I need to be able to view multiple C++ files. I also need to be able to run those previous files as well as my current file.
I have tried Visual Studio Community ...
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
54
views
Using snowflakes externalbrowser authentification using VS Code remote tunnels
Executing this code while developing using a remote tunnel (Azure VM), the URL (token) seems not to redirect the token back to the snowflake client
Session.builder.configs(
{
"...
1
vote
2
answers
50
views
git is showing unmerged paths: both modified
I have a visual studio project which uses git. I don't normally use VS for my work - this is a side project - I normally work from the command line and I'm a git novice anyway. I must've done ...
-7
votes
0
answers
57
views
How to remove component from Visual Studio offline installation [closed]
I want to remove component from offline installation, but the command doesn't work, and it launches the installer every time:
C:\BT2022offline\vs_BuildTools.exe --noweb --remove anypackage
C:\...
-3
votes
0
answers
44
views
No Signing Tab in Visual Studio 2022 C++
I would like to sign my locally build application.
Application code is C++ / MFC, build for 32 Bit. It is a legacy application which should be replaced by new one in one - three years, so no much ...
1
vote
0
answers
44
views
Xamarin Forms - Last Android version supported
What is the last version of Android that is supported for Xamarin Forms? I'm trying to update my app to the last possible version of Android for Xamarin Forms. I know I'll have to switch to MAUI ...
-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 ...
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 ...
0
votes
1
answer
41
views
Is it possible to deploy a Visual Studio solution to a remote server using the Publish command?
As mentioned in the subject line is it possible to deploy a Visual Studio solution to a remote server using the Publish command? As currently these are the only options I have when clicking Publish:
...
0
votes
0
answers
36
views
Can a .NET project template automatically add a project reference to an existing project in the solution when added from Visual Studio?
I have a system where users create .NET plugin libraries. To support this, I’ve built:
A solution template that creates:
a plugin project
a testbed console app
a project reference from the testbed → ...
0
votes
0
answers
17
views
How to intercept keys not defined in VSStd2K, such as Shift+Tab?
I attempted to intercept key combinations using IOleCommandTarget for commands within VSConstants.VSStd2KCmdID.
I tried BACKTAB, but it doesn't work, even though TAB can be intercepted. I suspect that ...