I'm trying to develop extensions for Visual Studio and I'm going through some articles.
One key point of VS extension development is to reset experimental instance of Visual Studio, which I am having problem with.
For example, here is written that I should use following command to reset it (it is recommended also in Microsoft docs):
CreateExpInstance /Reset /VSInstance=12.0 /RootSuffix=Exp
I run command line and navigate to CreateExpInstance
location and run this command (I tried with various versions: 12.0, 14.0, etc.).
However, I keep getting such response:
The Visual Studio Experimental instance directory C:\Users\Mi\AppData\Local\Microsoft\VisualStudio\10.0Exp does not exist. CreateExpInstance: warning : The Visual Studio directory C:\Users\Mi\AppData\Local\Microsoft\VisualStudio\10.0 does not exist. Created directory C:\Users\Mi\AppData\Local\Microsoft\VisualStudio\10.0Exp\Extensions. Press any key to continue . . .
Moreover, executing this keeps creating new experimental instances in my %localappdata%/Microsoft/VisualStudio
directory
What am I doing wrong? Why my instance isn't getting reset? Or maybe this is how it should be?
Resetting the Experimental Instance Inside the C:\Program Files (x86)\Microsoft Visual Studio 12.0\VSSDK\VisualStudioIntegration\Tools\Bin folder, you will find a utility called CreateExpInstance .
To safeguard your Visual Studio development environment from untested applications that might change it, the VSSDK provides an experimental space that you can use to experiment. You develop new applications by using Visual Studio as usual, but you run them by using this experimental instance.
Reset settings To change your development settings after you open Visual Studio for the first time, follow these steps: Select Tools > Import and Export Settings from the menu bar to open the Import and Export Settings Wizard. In the Import and Export Settings Wizard, select Reset all settings, and then select Next.
There are several shortcuts for each Visual Studio version that you can run like this:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2017\Microsoft Visual Studio SDK\Tools\Reset the Visual Studio 2017 Experimental Instance.lnk
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With