Disable Visual Studio devenv solution save dialog

后端 未结 2 1363

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:

相关标签:
2条回答
  • 2021-01-29 18:46

    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.

    0 讨论(0)
  • 2021-01-29 19:09

    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.

    0 讨论(0)
提交回复
热议问题