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/.

Filter by
Sorted by
Tagged with
160 votes
9 answers
399k views

Windows on second monitor moves to primary monitor after sleep/lock

I'm using latest Windows 10. I have dual monitors and am working on software development. I move Visual Studio to second monitor to work on it. When I lock wndows and leave computer and go somewhere ...
Can's user avatar
  • 1,711
137 votes
12 answers
148k views

Delete a line in Visual Studio without copying it?

There is the shortcut Shift+Del to delete a line, but I want to delete the line without modifying what is in the clipboard. Is there some way to configure it or another shortcut?
BrunoLM's user avatar
  • 5,694
128 votes
11 answers
361k views

How do I install a VSIX file in Visual Studio?

I just downloaded a VSIX file from the Visual Studio Gallery. How do I install it in Visual Studio?
KdgDev's user avatar
  • 5,518
102 votes
1 answer
65k views

How to open .dbml in designer mode with VS?

After installing Visual Studio 2017, my LINQ To SQL .dbml definitions open in a XML editor instead of the built in designer. How do I configure VS to open .dbml in Designer mode instead of XML ...
Drag and Drop's user avatar
99 votes
12 answers
97k views

How to make CTRL + / toggle a comment in Visual Studio

How can I make CTRL + / toggle a comment in Visual Studio, as it does with XCode and Eclipse?
Marc's user avatar
  • 1,093
91 votes
3 answers
51k views

How do I sync the Solution Explorer with the current File in Visual Studio?

When I have an open code file in Visual Studio that I am editing I would like to keep that same file highlighted inside of the solution Explorer so that I know where I am at. What I'd really like ...
thepaulpage's user avatar
  • 1,640
76 votes
6 answers
42k views

How to remove directory context menu added by Visual Studio 2017?

I have installed Visual Studio Community 2017 RC on Windows 10. After installing, it added a new context menu when right clicked on any directory. I want to remove this option, but can't seem to ...
aniskhan001's user avatar
  • 1,188
68 votes
14 answers
158k views

Visual Studio 2019 unable to locate .Net Core SDK

I'm following this tutorial - Share Azure Spatial Anchors across sessions and devices - at Microsoft Docs. It requires I open a project in VS, but when I try to open it I get the following error: ...
muz's user avatar
  • 781
59 votes
11 answers
152k views

How can I force stop a program without using the mouse in Windows 10?

I'm trying to debug a Visual Studio C# Windows application that immediately takes over the desktop and disables mouse control. When it freezes, I need to be able to stop it somehow. I can press the ...
Kyle Delaney's user avatar
  • 1,237
54 votes
11 answers
34k views

Why does Visual Studio run in "Always on top" mode?

My copy of Visual Studio seems to be set in "Always On Top" Mode. It runs this way by default; there seems to be no way of changing it. Visual Studio runs as Administrator/Elevated, but that really ...
SomeUser's user avatar
  • 541
50 votes
3 answers
87k views

How can I compile a .NET project without having Visual Studio installed?

I want to compile a .NET/C# project, but I don't want to install Visual Studio to do this. What tools do I need and how can I compile the project?
Oliver Salzburg's user avatar
49 votes
11 answers
51k views

Speed of TrueCrypt whole disk encryption

I'm getting a new development laptop soon, and I'm thinking of using TrueCrypt to encrypt the whole disk. What kind of performance drop can I expect? 10%? 30%? More? Also, assuming the workload has ...
Gareth's user avatar
  • 631
45 votes
2 answers
41k views

What is the Visual Studio Standard Collector process, and why does it use 10GB of RAM?

Hopefully this is the right stack exchange site to post on... Didn't feel like it was a programming question for SO. Anyway, I'm running Visual Studio 2015 and got a notification to from Windows to ...
C. Tewalt's user avatar
  • 682
37 votes
8 answers
30k views

Always start Visual Studio as an Administrator on Windows 8

Whenever I start Visual Studio 2012 in Windows 8 it always needs Administrator permissions to access IIS meta data and debug local web applications on IIS. If I turn UAC off, I cannot launch the ...
Boomerangertanger's user avatar
33 votes
10 answers
60k views

Why sometimes Windows cannot kill a process?

Right now I'm trying to Run/Debug my application in Visual Studio, but it cannot create it because the last instance of the app.vshost.exe is still running. Then, by using the Task Manager I'm trying ...
Néstor Sánchez A.'s user avatar
33 votes
3 answers
21k views

Building a fast Visual Studio machine

I want to build a PC to run Visual Studio very quickly. I have about 30 C# projects that include WCF services, IIS web services. So for me, quickly means fast edit, compile, run and debug cycles. ...
Phillip Ngan's user avatar
  • 1,340
29 votes
2 answers
36k views

What does the number on the visual studio solution icon represent?

Just out of curiosity - what does the number represent? At first I thought it was simply the version/year, because I saw some 10's and some 8's (I have vs 2010 and 2008) but, then why do I have some 9'...
xdumaine's user avatar
  • 2,299
25 votes
7 answers
39k views

Dual-boot or virtual machine for Linux programmer that does some Visual Studio development?

The scenario: I am a freelance software developer that mostly develop on Linux (Python, MySQL, MongoDB etc.) My work computer is a Lenovo laptop w/ a i7 processor and 8GB RAM. Big HD + 128 GB SSD. ...
codeape's user avatar
  • 726
24 votes
2 answers
39k views

Visual Studio long install/uninstall time?

In the organization that I work at, we have a number of developers who use Visual Studio 2013. I also personally use Visual Studio 2013, both at work and at home. What gets me is just how long it ...
BlueBuddy's user avatar
  • 517
23 votes
1 answer
34k views

What is .NET Multi-Targeting Pack?

Installing Visual Studio installs a bunch of .Net packages called .NET x Targeting Pack .NET x Multi-Targeting Pack .NET x Multi-Targeting Pack (ENU) Where "x" stands for the .Net version number it ...
NoNameProvided's user avatar
21 votes
2 answers
36k views

How to know cursor position index in an editor

I'm working with an HTML file, and I need to know my cursor position index in the overall file. In Visual Studio, I can see the line number and column number in status bar. In Notepad++ too, in the ...
Saeed Neamati's user avatar
21 votes
5 answers
13k views

VS 2010 Security Warning When Opening My Own Projects

Whenever I try to open my own projects in VS 2010 Express, I get the following message: You should only open projects from a trustworthy source I can click OK on the message and open the ...
Zian Choy's user avatar
  • 1,438
20 votes
4 answers
17k views

Should I store my code/projects on my SSD or my secondary drive?

I just got a new box. It has an SSD for the primary drive and a 1TB SATA hard disk for the secondary drive. I'm going to run Windows OS and my binaries on the SSD and keep all my downloads/...
fr0man's user avatar
  • 313
19 votes
3 answers
6k views

Prompt if I really want to close visual studio?

Anyone know if I can have visual studio prompt me if I really want to close it (I believe Eclipse prompts before closing)? Or some other way of stopping it from closing when I hit the "X". Thanks ...
user avatar
17 votes
5 answers
42k views

Visual Studio Community 2015 Installation stuck on creating a system restore point

I tried to install the new Visual Studio 2015 Community Edition but unfortunately without success because the installation gets stuck on creating a system restore point. What I did to solve the ...
CMS's user avatar
  • 295
17 votes
7 answers
14k views

Which PC components make the biggest impact on your compile times for Visual Studio?

Which PC specifications have the biggest impact on your compile times? Disk? Clock speed? Number of CPU cores?
Rob Allen's user avatar
  • 1,879
17 votes
3 answers
20k views

Too many folders in the path variable

I've encountered a strange issue - I can't launch Visual Studio, nor run simple commands from command prompt, seemingly due to my PATH variable being too long. Now that I look at it, I see that many ...
CC Inc's user avatar
  • 691
16 votes
9 answers
46k views

Visual Studio: significant performance difference on VMware Fusion vs Bootcamp?

I've just purchased a new MacBook Pro and was looking at installing Windows 7 via Bootcamp, so that i can do Visual Studio development work, but i was thinking it would make more sense to move my non ...
16 votes
8 answers
7k views

Visual Studio: set focus to text editor

Is there a shortcut to set the focus easily to the editor where my code is? I don‘t want to cycle through anything or hide something else, I want a direct shortcut to jump with the focus to the editor....
bugybunny's user avatar
  • 1,453
15 votes
3 answers
32k views

How to completely remove Visual Studio from mac?

I recently installed Visual Studio for mac right after the day it was launched. It consumed 20 gb of my disc space, so I decided to remove it. I went in to the applications folder and moved recently ...
Shrijan Aryal's user avatar
15 votes
6 answers
34k views

How to get the Visual Studio installation path in a batch file

Normally, the path is something like C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\. From Visual Studio, one can use $(VCInstallDir)$ to get this path. Q: But in a batch file, how to get ...
user565739's user avatar
15 votes
6 answers
16k views

Improving/Resolving keyboard input lag with Visual Studio 2013

I'm having a slight delay (50-200 ms estimated) with keyboard input (code editing) from within Visual Studio 2013. The problem does not occur with Visual Studio 2010. When typing, there is a slight ...
Nuzzolilo's user avatar
  • 151
15 votes
1 answer
1k 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 ...
dgo's user avatar
  • 883
14 votes
3 answers
21k views

Keyboard shortcut to move line up/down in Visual Studio 2012?

Is there a shortcut to move a line up/down? Visual Studio 2010 Productivity Power Tools had this feature, is it built-in on Visual Studio 2012? Is there perhaps a light extension that adds this ...
BrunoLM's user avatar
  • 5,694
14 votes
2 answers
10k views

Windows 8.1 comes with SQL Server and Visual C++?

My friend got a new Windows 8.1 laptop. I am helping her cleanup things that came "free" from HP (games, etc). In the list of programs installed, I see "Microsoft SQL Server 2005 Compact Edition" and ...
nute's user avatar
  • 1,649
14 votes
1 answer
1k views

Empty lines or lines with symbols only have smaller font size in VS2013

In Visual Studio 2013 source code editor empty lines or lines with only symbols, such as '{' or '#', have smaller font size than lines with alphanumeric characters. I'm using "Classic Console" fixed-...
MasterM's user avatar
  • 561
14 votes
4 answers
9k views

Windows 7 access denied to executables.. by what?

Ever since I started using Windows 7 this problem has been bothering me. From time to time I see similar questions popping up on misc forums, but never did I see an answer. Here are two scenarios that ...
stijn's user avatar
  • 2,047
13 votes
5 answers
41k views

Clean reinstall SQL Server Management Studio

I am on Windows 8.1, Professional edition. I installed SQL Server Management Studio 2012 x64 and everything worked well. I installed Visual Studio 2013 and everything worked well. Then, I installed ...
Micro's user avatar
  • 421
13 votes
2 answers
21k views

What happened to design view in Visual Studio 2013?

Visual Studio has the option to view html in 3 views: design, split an source. (image from VS2012) All 3 options seem to have disappeared in Visual Studio 2013. Any ideas?
Danield's user avatar
  • 393
11 votes
3 answers
27k views

Visual Studio doesn't recognize .NET Framework 4.6.2 is installed

I've installed .NET Framework 4.6.2 via the web installer, and everything looked good. However, after I restarted and opened up Visual Studio, it reported that 4.6.2 was not installed: I checked ...
p.s.w.g's user avatar
  • 373
11 votes
2 answers
49k views

Uninstall Visual Studio 2013 with update 4

I tried to install VS 2013 Community with update 4 via iso file on my Dell XPS L502 Windows 7 Premium laptop. The installation is not going well since days and now the installer is stuck at ...
Nigel's user avatar
  • 269
11 votes
5 answers
5k views

Programming productivity: How to hide cursor while typing

Whenever I click somewhere to type some code, by definition that's exactly where my mouse cursor is, which is obscuring what I'm trying to type. Often, if I forget to move the cursor away before ...
Adam Kane's user avatar
  • 1,457
11 votes
2 answers
3k views

Want Visual Studio 2010 stop using the drive when there's lots of RAM in Windows 7 64 bit

I will be upgrading my system to use 16GB of DDR3 RAM in a Windows 7 64 bit and Visual Studio 2010 Ultimate. CPU will be 6 cores 3.2Ghz. I do lots of compiles/day and my goal for VS is to show a web ...
Tony_Henrich's user avatar
  • 11.7k
11 votes
1 answer
2k views

How do I hide the editor margin that displays the "lightbulb" icon in VS 2015?

I am talking about this: Takes too much space and is a bit annoying. Is there any way to hide the margin and the icon?
Saravana's user avatar
  • 295
11 votes
2 answers
26k views

How can I refresh files that have been changed outside of Visual Studio?

I was editing a file simultaneously in both Visual Studio & Notepad++ (I know, I know, it's a silly thing to do, I know). After saving changes made with Notepad++, how can I refresh Visual Studio ...
LongTP5's user avatar
  • 211
11 votes
1 answer
26k views

When will SSDT-BI be available for Visual Studio 2015

From Microsoft's download page, SSDT-BI (SQL Server Data Tools Business Intelligence) for Visual Studio 2013 is available but not for 2015. When will Microsoft release SSDT-BI for VS 2015? https://...
JohnnyO's user avatar
  • 1,285
10 votes
4 answers
6k views

Can I stop Visual Studio spawning a web browser when I start debugging?

Can I stop Visual Studio spawning a web browser when I start debugging in VS2010? I have the site open already, so I don't need Visual Studio to spawn another window/tab/etc :\ I'd love to be able ...
Kenny's user avatar
  • 225
10 votes
2 answers
21k views

How to install .vsix extention file in Visual Studio on Mac?

I just downloaded a VSIX file from the Visual Studio Gallery and i want install this extention (jQuery snippets) on Mac. How to do this?
Damian's user avatar
  • 243
10 votes
2 answers
8k views

Visual Studio - Using GIT and SVN

Work uses SVN. I want to use GIT for private use. I was also exploring TFS, but it doesn't seem to cooperate with multiple collections, so I stopped looking into it. Currently I use AnkhSVN. I want ...
WernerCD's user avatar
  • 4,333
10 votes
3 answers
2k views

Visual studio 2012 and dropbox don't play nice together

Ever since switching to VS 2012, I have a frequently occurring issue where dropbox tries to sync files as VS 2012 is creating them (when adding a project, installing nuget packages, etc...). VS fails ...
Chris's user avatar
  • 505

1
2 3 4 5
17