116,066 questions
-2
votes
0
answers
36
views
Opening any project in vs, it says Miscellaneous Files, .net SDK not found [closed]
The main problem is that vs cant find sdk but i've donwloaded it, through browser multiple versions, through browser or embeded installer, i restarted my pc.
this how it looks in a console project
...
Advice
0
votes
0
replies
27
views
How to prevent Visual Studio from automatically killing child process
I'm using the Verify.xunit nuget package with VS2026 to do snapshot testing. When it spawns the diff tool the first time to show differences, VS pops up a window warning you that the parent process ...
1
vote
0
answers
73
views
How to avoid the dialog box "No symbols found" in case a symbol file is not found in Visual Studio 2022?
I'm debugging a C++ dump in Visual Studio 2022. My symbol servers are defined.
When I ask to load the symbols, I want Visual Studio to try to find the symbols in the locations I've provided, and in ...
-4
votes
0
answers
81
views
.NET projects not publishing in Visual Studio 26 [closed]
I have developed some .Net application (Visual Basic) using the Visual Studio version 22. I use IIS to put them for online using.
Now I have installed the Visual Studio version 26. But the projects ...
0
votes
0
answers
53
views
Visual Studio 2026 publish only files that have changed
I have several pretty large projects in a solution which uses multiple projects, some of which are very rarely changed. Of course third party dependencies are rarely changed as well.
With VS 2022 and ...
1
vote
2
answers
87
views
Can't set breakpoint in cshtml file in Visual Studio Community 2022
I can set one programmatically, but I prefer to set it via the menus. But the option doesn't appear when you right click on a line of code. Any ideas?
Breakpoints can be added in controller files ...
-2
votes
0
answers
91
views
Re-inserting references to System.Windows.Forms in Visual Studio [duplicate]
I had problems with conflicting packages in my project, so I decided to create a new project and copy the source files into the new project, then downloading the relevant packages with nuget.
Now I ...
-3
votes
0
answers
103
views
Compilation of C++ LibTorch in combination with CUDA 12.6 in Visual Studio 2022
this is not a question about how to write a CUDA kernel for Torch - I have done this and the kernel is confirmed to function as expected.
But I have a problem with compilation. After making the call ...
0
votes
1
answer
90
views
How to alter an environment variable before starting a build (without modifying the project file)
This is a step further than my previous question:
I have split my development area from "C:\Development\workarea" into "C:\Development\workarea\v1", "C:\Development\workarea\...
Advice
0
votes
1
replies
63
views
How do i stop Visual Studio from freezing my PC?
While i did try to alleviate this to some extent with using regedit methods and such as shown here it still downloads most of it to my C: Drive
and my C: drive is almost always full with files that ...
-2
votes
0
answers
137
views
+100
Git integration in Visual Studio, are there any macros available?
I would like to split up my output directory per Git branch.
Currently, my output directory is defined as follows:
The variables (VSBuildPath and Configuration) are defined within Visual Studio and ...
0
votes
0
answers
69
views
Is there a way to include debug information into PDB-file selectively?
I build my C++ program in Visual Studio 2022 (cmake-project) using a large static-built library (QT).
The library was built in Debugx64 mode. I want to build program including debug information for it,...
0
votes
0
answers
88
views
Visual Studio modifies .csproj files on branch switch (possible .editorconfig / Code Cleanup issue)
I added an .editorconfig file to the solution. The linter is CodeLens, the analyzer is SonarQube, and Code Cleanup automatically applies rules (profile 2). After some time, other developers started ...
-3
votes
0
answers
69
views
Where is the browser setting for the remote location to create a pull request in Visual Studio?
Microsoft documents this https://learn.microsoft.com/en-us/visualstudio/version-control/git-create-pull-request?view=visualstudio, but it's a little short on one thing: where it gets the location when ...
-1
votes
0
answers
61
views
Visual Studio Extension - Cannot Import Any Converters in User Control XAML When Using Metalama
In my extension, there is a tool window with a WPF UserControl. For one of the bindings, I am attempting to implement an enum <--> string value converter. I have my converter defined:
and ...