Questions tagged [visual-studio]
For questions about Microsoft Visual Studio that are not specific to a particular version. For version-specific questions, use the associated version-specific tag. Questions about Visual Studio cloud collaboration tools (Team Services, previously Visual Studio Online), may be a better fit on http://webapps.stackexchange.com/.
852 questions
0
votes
1
answer
59
views
How to uninstall Visual Studio Enterprise 2022 from cmd without affecting Visual Studio Professional 2019?
I need to uninstall Microsoft Visual Studio Enterprise 2022 from the Windows command line terminal cmd but ensure that Visual Studio Professional 2019 remains installed.
I don't have the C:\Program ...
0
votes
1
answer
25
views
Internet goes offline after starting Asp.net project on Visual studio
I just moved to a new PC with Win11 and I'm facing this issue.
After I start this asp.net project in Visual studio internet stops working for some reason after few seconds, it uses IIS express to run ...
0
votes
0
answers
43
views
With Visual Studio, can I specify Solution Configuration and Solution Platform on the command line?
Looking at the command line arguments to Visual Studio, it should be possible to specify
/ProjectConfig "Debug|x64"
, but it doesn't seem to actually work.
How should :Configuration/...
0
votes
1
answer
33
views
Identifying Visual Studio 2022 theme
What is the Visual Studio 2022 theme in the image below?
When I logout my account in VS2022 to refresh something, the theme I'm using was also reset. I have tried all installed themes one at a time ...
0
votes
0
answers
66
views
How do I disable this type of notification in Microsoft Visual Studio Professional 2022?
I do not know the name for this 'feature' that creates these notifications, but I want to disable it entirely in MS Visual Studio Professional 2022 Version 17.10.3
The VS project is generated/modified ...
0
votes
0
answers
50
views
How to get Visual Studio to behave like Visual Studio Code with sidebars?
Visual Studio Code's side panels are either open or closed. Crucially, when closed, there is still a sizeable icon or text to open it back up.
Visual Studio's side panels on the other hand are either ...
1
vote
2
answers
70
views
What is this temp folder for?
I'm using a RAM disk where I've placed the temp folder on Windows 10. However, a new temp folder named something like 'yk5rjwiy' is created shortly after each system startup, consuming about 5GB of ...
0
votes
0
answers
38
views
VS2022 delete key opens intellisense on each press
in VS2022 in a js file every time I hit the delete key the intellisense menu appears, which is quite annoying and makes it hard to delete things.
Anybody knows how to turn this off ?
1
vote
1
answer
206
views
How to save image as a useable icon without Online converters
I have been searching online for a while now on how to make my own icon without an online converter and they ALL say the same thing and they all do not work. Namely change the pixel count to 16x16 / ...
0
votes
0
answers
42
views
Randomly moving blue bar in VisualStudio
I have been struggling with Visual Studio lately. For some reason, a blue bar with code from the current document appeared on the top of the document editor.
This happened in both Community edition ...
0
votes
0
answers
35
views
Can't download 2015-22 VC package
This problem's been bothering me for a while. I can't install Visual Studio or even run certain apps.
0
votes
0
answers
404
views
How to get Win32 Project in Visual Studio 2022
I'm trying to follow the instructions of the following question: How can I combine several individual .ico files into a single file?
The top answer there states the following:
You need to build a DLL ...
0
votes
0
answers
44
views
How to hide solution/project/properties windows in Visual Studio 2022
the three windws in red are really annoying and I don't need to view those windows especially properties windows, so how can I hide those windows in setting?
0
votes
0
answers
141
views
Visual Studio 2022 how to add IConfiguration (appsettings.json) into IntelliSense for autocomplete
I'm looking to see if there's a way within Visual Studio 2022 to get IntelliSense to be able to access all of the options within my appsettings.json if the object type is an IConfiguration type.
I'm ...
-2
votes
1
answer
549
views
How to install VSIX files in Visual Studio 2019 on a Machintosh?
I would like to install this VSIX file and I'm using a Mojave Mac on version 10.14.6. The Visual Studio version is 8.10.11 (build 8).
How ?
0
votes
0
answers
107
views
Anyone else that has changed to using OneDrive and having issues with Visual Studio trying to reach out to the old path?
We are starting to use OneDrive, but Visual Studios still tries to use C:\users\username\documents instead of the new C:\users\username\onedrive folder\documents folder.
So now the Visual studio ...
0
votes
0
answers
50
views
How do I change the shared components, tools, and SDKs path in VisualStudio Community2022 since there is no VisualStudio directory in my registry
I am new to learning the C++ renderer engine and I need to install some workloads and components in Visual Studio 2022, I would like to install them in my E drive but it seems that VS2022 doesn't ...
1
vote
0
answers
578
views
How to set the background color of Visual Studio 2022's panels
I switched my Visual Studio 2022 to use the dark theme.
By default, The background color of the various areas of the window is set to RGB 30/30/30.
I wanted to reduce the contrast between the ...
2
votes
2
answers
6k
views
vcpkg could not locate a manifest (vcpkg.json)
The vcpkg package manager can be installed as part of Visual Studio (2022), and should be executable via the Visual Studio 2022 Developer Command Prompt, which below image proves. However, I face an ...
0
votes
0
answers
59
views
Visual Studio (2015, 2017) Compiler Error when run in standard user context
Hoping for some assistance with regards to Visual Studio whereby my knowledge is limited and assisting to support someone else.
When compiler is run using Visual Studio 2015 Express (and 2017) in ...
0
votes
0
answers
248
views
How can I configure Visual Studio as the default CMake generator?
I have configured Visual Studio to use CMakePresets.json for CMake settings, not CMakeSettings.json:
My CMakePresets.json does not explicitly specify any generator:
{
"version": 3,
&...
0
votes
1
answer
446
views
Force linking of work items to VS git commits
Is it possible to force a developer when committing work through Visual Studio to link a work item (Bug, Task, Product Backlog)?
I can see I can link with a '#' in the git commit comments but would ...
0
votes
0
answers
31
views
Pasting SQL Results from Visual Studio into Excel [duplicate]
Using Visual Studio 2022 (17.8.3) and Excel 365 (v2311) on Windows 11
I very recently moved to a new boot drive, and have reinstalled all apps on my PC. For years I've been using Visual Studio to run ...
0
votes
1
answer
273
views
what is the command line equivalent of ctrl f5 of visual studio?
I created a simple uwp app with microsoft Visual Studio
To build the project
MSBuild -t:build -p:Platform=x64
I tried to run the project with
MSBuild -t:run -p:Platform=x64
But it's like this:
...
0
votes
1
answer
2k
views
conda create --name doc-env python==3.10 but the version installed remains 3.18
I try to install python 3.7 with conda but every time I seem to get python 3.11. Then I tried to explicitly specify the channel with conda create --name doc-env python=3.10 -c conda-forge I noticed ...
0
votes
2
answers
323
views
How to delay tooltip and change autocomplete key in Visual Studio 2022 (17.3)
Using Visual Studio 2022 (v17.3) Community Edition.
I would like to customize my experience by:
Changing the default "accept" key for autocomplete suggestions from Tab to Space
Change the ...
0
votes
0
answers
134
views
MSDN Visual Studio - Can I still install on home computer?
In the "good old days", I could logon to MSDN from any computer, and download Visual Studio. Not sure if it is like this for everyone, but now, I have to logon only on my corporate laptop. ...
0
votes
0
answers
188
views
I have a visual studio solution with a couple of projects but my build pipeline only publishes one project
I'm trying to create a CI/CD but I'm only getting one artifact. The artifact that I'm getting is the client app (a Blazor application).
My solution structure is as follows:
-src
--API
--Core
--Domain
-...
1
vote
1
answer
9k
views
Hide a process in the Windows task manager by using task manager hider
I watched this video and there you can see how to hide a process by using the software task manager hider:
I tried to use it; in particular I opened the project in Visual Studio 2022, then I right ...
1
vote
1
answer
54
views
Which license of Visual Studio for online course?
I'm using the Community version of Visual Studio 2022 for creating some open source projects at home. Now I'd like to create some course about something related to Visual Studio and C++, and I'd like ...
1
vote
1
answer
694
views
Focus on code after CTRL+F (Find) in Visual Studio 2022
Is there a shortcut in Visual Studio 2022, after searching a term with Ctrl+F, to set back focus to the code WITHOUT loosing the search? I do this to keep editing while the found tokens are ...
1
vote
0
answers
322
views
Cannot configure serial monitor in Visual Studio on Windows 10 - why are ports not listed?
Docs says after opening the serial port monitor (Debug -> Windows -> Serial Monitor) in VS community 2022 64bit Version 17.6.5, there should be a list to select the port. I do not get this.
I ...
0
votes
1
answer
38
views
Is it possible to edit code with an open visualizer?
Out of the box, at least, Visual Studio does not allow editing code during a debugging session when a visualizer is open. The visualizer window is on top and clicking anywhere else in Visual Studio is ...
0
votes
0
answers
75
views
How does Visual Studio choose which analyzers to run?
I am working on a project which has some logging errors. Last week I could compile this project just fine, even though it has "warning as errors" turned on. Today, I get CA2017 warnings, ...
15
votes
1
answer
2k
views
Remove Github Actions from Visual Studio Solution Explorer
With the latest update of Visual Studio 2022 (version 17.7.0 Preview 4.0), I now have an seemingly non-removable node in Solution Explorer with the Github logo labeled 'Github Actions'.
It's not the ...
1
vote
1
answer
419
views
Use multiple themes in Visual Studio?
Is it possible to start 2 Visual Studio instances, each with a different theme? for example, one with light theme and the other with dark?
Seems this is possible in Visual Studio Code, I wonder if ...
0
votes
1
answer
672
views
How to setup GDB integration in Visual Studio 2019+ for the local machine?
For Visual Studio 2015 there is a dedicated "GDB Debugger Extension". Apparently its actual name in the marketplace misleadingly is "Visual C++ for IoT Development" but explicitly ...
1
vote
0
answers
87
views
Is there a way in Visual Studio to save a "workspace profile", and swap between them, for documents opened within a solution?
I have a very large solution that I work on for 95% of my work. Much of my work is broken down into adding new features and maybe 25% of my work is spent in fixing bugs.
I also, some times, have to ...
0
votes
0
answers
62
views
Quickest way to add variable text from a text file to a JSON file in specific places
I'm trying to find the easiest and quickest way to fetch a list of names in different lines from a text file and appending them to a specific field in a structured JSON file that repeats itself over ...
0
votes
1
answer
230
views
Windows 11 BSOD after installing Visual Studio - have bootable drive settings been changed somehow?
I installed Visual Studio from Microsoft via this link. I was wanting to install qView (minimalist image viewer), and it requires Visual Studio, so I thought I would make sure that I have the latest ...
1
vote
1
answer
1k
views
Why is the thickness of the Visual Studio cursor/caret variable?
When I move to different places on a line in Visual Studio, I notice that the thickness of the cursor changes. I am not referring to going into Insert mode, or changing any settings of either the ...
0
votes
0
answers
607
views
Error opening Visual Studio Code from Cypress on Mac: 'The editor process exited with an error: spawn EACCES'
I am trying to open Visual Studio Code from Cypress on my Mac by clicking on a file in the Cypress Test Runner, but I am encountering the following error message in VSC:
"Could not open ...
0
votes
0
answers
1k
views
Fibers doesn't install on pnpm install
I've tried deleting node_modules and running pnpm store prune, also I have Visual studio installed with "desktop development with C++" workload.
It's happening also with npm install.
After ...
0
votes
0
answers
28
views
VS19 Create Visual Jpeg of Code
I want to create a jpeg image of my code with black bg and white/color font as seen in dark mode. This is to get it printed and framed for my wall but I'm having such a hard time figuring it out. I ...
0
votes
1
answer
1k
views
VSCode won't open files from FileZilla
I used to use Atom as my editor, but recently switched over to VSCode. When I used to use Atom, I could right click on a file from FileZilla, click on "View/Edit" and it would open in Atom ...
1
vote
1
answer
94
views
TFS and privacy
I must decide if I should remotely work for a customer managing a TFS server with thir source codes. I don't know perfectly this tool. I created all the necessary accounts.
In Solution Explorer inside ...
0
votes
0
answers
398
views
Visual Studio for Mac, how to debug solution load failure?
VS version: Visual Studio for Mac 17.5,
OS: macOS Monterey Version 12.6.3,
Hardware: Mac mini (Late 2014)
This solution is for an iPhone and Android application that I maintain. When I attempt to ...
0
votes
0
answers
482
views
Cannot publish an ASP. Net application using Visual Studio as I cannot find password in website summary page on Somee.com
I am trying to publish an ASP.Net web application using Visual Studio. While I am trying to publish using Visual Studio, VS is asking user id, password, and other details. I can find other details on ...
0
votes
0
answers
222
views
Can you add Visual Studio Code shortcuts to Google Chrome on Windows?
I use a lot of handy shortcuts in VS Code and often find myself trying to use them in Google Chrome (and other programs as well). For example, copy line down → alt+shift+arrow down or remove paragraph/...
0
votes
3
answers
7k
views
How to create a new PowerShell project from Visual Studio?
How do I install a workload for Visual Studio to work with PowerShell?
From the console:
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> code --help
code : The term 'code' is not recognized as ...