116,014 questions
2
votes
1
answer
97
views
Visual Studio console text vertical line spacing doesn't match .exe build console
I am making an ASCII snake game in Visual Studio, and it works when I run and build it using F5, but when I run the built .exe file or the shortcut to that file, the vertical spacing between the ...
Advice
0
votes
3
replies
71
views
Why is my project not able to link the CppUnitTest code
I have configured my Visual Studio C++ project to add
C:\Program Files\Microsoft Visual Studio\18\Community\VC\Auxiliary\VS\UnitTest\lib\x64
to Additional Library Directories, and added
Microsoft....
1
vote
2
answers
203
views
How to show an Exception's stack trace docked when the Exception is caught?
Currently, while stepping through, every time an exception is thrown and caught, I get a small dialog in which I need to scroll both horizontally and vertically to see the stack trace, which is not ...
-1
votes
0
answers
63
views
The option to change compiler version in Visual Studio doesn't appear for me
VS 2022 seems to be using an incompatible compiler version. I know because when I compile my code (it fails with code 6), I get this message in the log file:
Detected compiler newer than Visual ...
3
votes
1
answer
79
views
Typing in XAML file causes Visual Studio to completely lock up
I open a XAML file. Start editing a control. I want to type in the following simple property setting:
Background="Transparent"
That's it. But after typing at most 3 characters, ...
-1
votes
0
answers
98
views
Connected iPad not recognized in Visual Studio 2026
I am working on my Blazor Maui Hybrid App on .NET 10 in Visual Studio 2026 (18.4.3) on a windows machine. Paired it with a Mac (macOS Tahoe 26.5.1), with Xcode Version 26.5 installed.
To this Mac I ...
0
votes
0
answers
89
views
CoPilot doesn't execute actions in Agentic mode with local LLM
I'm playing with local ollama model (qwen2.5-coder:7b) trying to connect it to CoPilot.
The local model is detected without issues.
Then, in Agent mode I give it a simple task like "Add a string ...
0
votes
0
answers
32
views
Expand all children of current region
Ctrl + M, M collapses/expands children of current region
I haven't found any native shortcut that allows me to expand all children of current region.
Is there a plugin that does that?
-2
votes
0
answers
205
views
Trying to run a basic shader on Visual Studio IDE using Raylib
I'm trying my own tiny shader lang which transpiles to GLSL. I'm using Raylib to handle OpenGL boilerplate.
I cloned vcpkg and ran:
.\vcpkg\bootstrap-vcpkg.bat
vcpkg install raylib:x64-windows
...
Advice
0
votes
7
replies
138
views
.NET 6 .NET 10 Visual Studio
When creating or opening an ASP.NET Core MVC web project using .NET 6 and .NET 10, I encounter a frustrating error.
In Visual Studio Community, when I click to run, the following error appears:
...
Best practices
0
votes
1
replies
44
views
What's the best way to preserve github co-pilot chat with formatting?
I tried to paste it into onenote, but all the formatting was completely lost even when choosing "keep source formatting" when pasting
I tried to paste into word, but that did not give me a ...
Advice
0
votes
1
replies
82
views
How do you do ts
Alright I cant explain it properly, I work with HTML since I am just starting and I want to code a website where someone picks an order
Pays with it
Wants to put a message
Money is sent
Then the ...
-1
votes
0
answers
99
views
Managing interdependent projects in solution
Consider the following scenario:
I have a local NuGet store
Multiple libraries, e.g. generally used tooling are published as NuGet packages
Many packages depend on said generally used tooling and ...
0
votes
2
answers
203
views
Issue with out-variable declaration reference outside the contain block [closed]
I was implementing a small scripting language, and I stumbled upon something very weird condition.
Consider this function:
public void Run()
{
Dictionary<string, System.Reflection.MethodInfo>...
1
vote
0
answers
83
views
namespace "cuda" is not recognized by CUDA 13.2 runtime on Visual Studio 2026
As the screen capture shows, it seems the namespace cuda is not found. What is wrong here and how to fix?
The header files I included are paste below:
#include "cuda_runtime.h"
#include <...