116,195 questions
0
votes
0
answers
58
views
.NET is not recognized
In a .NET Core C# project, I get many errors like this:
Predefined type 'System.Object' is not defined or imported
Primary variables such as int and string are not recognized.
I have tried the ...
0
votes
0
answers
39
views
Does anybody else have issues with sideloading after updating to Visual Studio 2026?
I recently updated my Visual Studio to the newest version (2026). Since I updated, my Android devices no longer appear in the list of devices. But even worse, since the update they don't appear in my ...
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 ...
0
votes
1
answer
41
views
Can't connect a local ASP.NET Core API to my Angular v20 Frontend
I've been fighting this problem for the last 3 weeks. I don't know if I'm also doing something wrong at the moment of connecting the API to the Front end not being able to at least print the JSON ...
0
votes
0
answers
35
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 → ...
3
votes
1
answer
86
views
Configure Visual Studio to decompile obfuscated code like Rider?
When navigating to the definition of something (e.g. with f12) of an obfuscated library in Rider, it will do its best to decompile the library. However, if I navigate to the same thing in Visual ...
-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:\...
-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 ...
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 ...
1
vote
3
answers
110
views
`Conflicting assets with the same target path` with `bootstrap-table`
I've updated my developer tools in Windows 11 to use the updated .NET 9/10 of November 2025 update. I have not updated my projects to .NET 10, so the projects are running in .NET 9. I have one ...
-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 ...
Tooling
2
votes
4
replies
193
views
Visual Studio 2026 Insider Preview Javascript Errors
How to disable all javascript errors in the editor? I tried the settings but with no success.
I tried changing settings and restarting VS:
Linting options: Tried setting all to false.
Language ...
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 ...
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
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 ...
0
votes
0
answers
84
views
Why does Visual Studio mention the symbol loading to be disabled by Include/Exclude setting? [duplicate]
I'm debugging a C++ program, and in order to do that, I'd like to have a look at objects, defined in imported libraries. However, the "Modules" window mentions some symbols not to be loaded ...
-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 ...
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 ...
1
vote
0
answers
89
views
How to solve Windows .NET MAUI app publish errors?
I have a .NET 9 MAUI Windows application.
I'm trying to publish it using the following command :
dotnet publish --framework net9.0-windows10.0.19041.0 --configuration Debug
--self-contained ...
0
votes
0
answers
115
views
How to see a Winforms custom control in Visual Studio designer?
I am following this tutorial to create a custom control that inherits from one different than UserControl.
When opening the designer view of this control, instead of seeing a render of the control, I ...
1
vote
1
answer
105
views
How to compile 64-bit binaries for latest versions of OpenSSL (3.5.x) on the Windows 10
I am trying to compile latest version of the OpenSSL on Windows 10 machine (version 3.5.4).
Prerequisites are:
I ran x64 Native Tools Command Prompt for Visual Studio 2022 Community Edition
I ...
0
votes
0
answers
67
views
Finding a variable based on attribute value [duplicate]
Hi Ive run into an issue i have an object in c# and in that attribute i have added a number field ( something that should in the code be unique for each value such as )
public class ...
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 ...
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.
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:
...