Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Visual Studio devenv solution save dialog

When I open my solution by double click on solution file in a file manager, Visual Studio 2012 asks me whether I want to save devenv.sln: enter image description here

How can I avoid this annoying thing? (except of opening vs first and than solution - I want just to click a solution file in my file manager).

like image 632
Dmitry Khryukin Avatar asked Nov 28 '12 00:11

Dmitry Khryukin


People also ask

What is Devenv EXE in Visual Studio?

"Devenv.exe" is the central Integrated Development Environment (IDE) for Microsoft's Visual Studio suite used worldwide to develop applications for multiple platforms in over twenty programming languages. It installs in a subfolder of "C:\Program Files", ("C:\Program Files(x86)" on 64-bit systems).

How do I close a Devenv process?

Select the devenv.exe process on the details page and then click the End Task button.

Where is Visual Studio Devenv?

devenv.exe. config resides in C:\Program Files (x86)\Microsoft Visual Studio X. 0\Common7\IDE by default (it is recommended to create a backup copy before modifying it).


2 Answers

As indicated here, you have to configure "C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\vslauncher.exe" to run as Administrator.

  1. Right-click C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\VSLauncher.exe
  2. Select Properties
  3. Click Compatibility
  4. Set "Run this program as an administrator".

I also did the same for C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe.

like image 193
Rami A. Avatar answered Sep 18 '22 17:09

Rami A.


Another option, a bit less obvious, is to save the devenv.sln file to the Visual Studio IDE folder for that version of Visual Studio. This was an option described in the link noted above.

Probably not the best option, but it is an option none the less.

like image 29
John Baughman Avatar answered Sep 20 '22 17:09

John Baughman