116,080 questions
-1
votes
0
answers
45
views
How to use snap lines from an exisiting .NET control in WinForms Out of Process Designer?
I have a custom Winforms control containing a text box. I want to implement a custom designer for my control showing the snap lines of the included text box. For .NET Framework, I found a solution ...
0
votes
1
answer
41
views
Visual Studio Extension - UI Context Rule Not Applying
I am working on developing a Visual Studio Extension which is basically going to be a tool to help perform some JSON file operations that we need to do regularly. To this end, my goal is to create a ...
3
votes
2
answers
103
views
Is it possible to "gracefully" stop a unit test run in Visual Studio?
I know that, ideally, unit tests should be self-contained and mock databases and other external dependencies.
However, for various reasons, we also have some automated mstest tests that need to modify ...
Tooling
0
votes
0
replies
43
views
Cannot find the installed Microsoft.Net.Sdk
--- For the context ---
I have issues working with TUnit package on VS 2022 as it may revolve around using .Net 10 which isn't possible on VS 2022 and I want to stick with VS 2022 for now.
------------...
0
votes
0
answers
45
views
Setting up Visual Studio Android Emulator
I want to set up the Android emulator under VS2026 to emulate my test devices:
Samsung Galaxy Tab A7
Lenovo M11
Moto Power G 2023
I need to know what the proper processor type, screen size, etc. ...
0
votes
0
answers
81
views
How do I use mongoDB driver with C++ in Visual Studio 2022 vcpkg [closed]
I'm having issues with Visual Studio not finding the mongocxx library. I've used vcpkg to install the driver and integrate it with Visual Studio. Steps I took include:
git clone https://github.com/...
2
votes
0
answers
52
views
How can I prevent creating huge PDB and ILK files while keeping it for my program using QT?
I have compiled the Qt framework in Debugx64 mode.
Then, I have written a simple program (a window with several buttons, and a QDirIterator to enumerate files) in Debugx64 too (Visual Studio 2022, ...
-1
votes
0
answers
51
views
Visual Studio AI popup “Allow/Dismiss” not clickable and chat may be lost on restart
I’m using Visual Studio with its AI chat feature (e.g., Copilot or built-in AI), and I’m experiencing an issue where a permission popup appears asking me to “Allow” or “Dismiss”, but I cannot click ...
Advice
0
votes
0
replies
62
views
Centered/Floating search bar in Visual Studio Code
Does anyone know the settings to set search bar in visual studio code to centered/floating like in the picture? tbh, i don't remember how i change my settings to be like that and when i synced my old ...
0
votes
0
answers
37
views
How do I maintain DacFx/Sqlpackage versioning lock-step with old-style sqlproj?
Without VS 2026 tooling for new SDK-style sqlproj and VS 2022 tooling still being preview and incompatible with legacy SSDT, I am left with having to maintain some legacy old-sqlproj projects.
I want ...
-1
votes
1
answer
43
views
Visual Studio Windows Application single taskbar icon when multiple forms shown
I know I'm missing something obvious, but cannot seem to grasp how to have my windows forms application only show 1 icon on the taskbar.
Currently, from my main form, when I show another form using ...
0
votes
0
answers
103
views
Errors using Hot Reload (Alt-F10) in Visual Studio after making some changes to the code
Hot reload works for me, but it throws errors after a short period of using it.
I am currently working on a complex ASP.NET solution containing a main website, apis and other auxiliary projects inside ...
0
votes
0
answers
69
views
Configuring Visual Studio 2022 to utilize the NuGet packages installed via vcpkg
Disclaimer I am very new to C++ and Visual Studio
I was given a project repository in which CMake (3.31.11) and vcpkg (2026-03-04) are configured for Visual Studio 2022.
After the initial cmake -...
0
votes
0
answers
109
views
Why does Visual Studio IntelliSense give error E0304 when the code compiles just fine?
#include <concepts>
#include <format>
template<typename T>
requires std::constructible_from<std::format_string<>, T>
void foo(T&) {}
int main() {
foo("&...
-1
votes
1
answer
46
views
Visual Studio spawns tiny corner on bottom left when launched - any way to fix?
Every time I launch Microsoft Visual Studio 2026, once the splash screen disappears, instead of the traditional welcome window, I just get this tiny window on the bottom left corner of my screen.
I'm ...