You can easily modify the MonoTools installer to work with VS2012. .vsix
files are ZIP files. In the root of the zip, you'll see a file named extension.vsixmanifest
, which lists the versions of Visual Studio that are supported by the extension.
Basically,
- Download the MonoTools package
- Rename it to have a
.zip
extension
- Right-click and select "open" - you don't want to extract the file, just open the archive using the built-in Windows mechanism
- Copy
extension.vsixmanifest
anywhere - say, to your desktop.
- Open it up in a text editor (I love Notepad++, EMACS is also pretty awesome under OSX.)
- Change the
SupportedProducts
key to the following:
<SupportedProducts>
<VisualStudio Version="10.0">
<Edition>VSTS</Edition>
<Edition>VSTD</Edition>
<Edition>Pro</Edition>
</VisualStudio>
<VisualStudio Version="11.0">
<Edition>VSTS</Edition>
<Edition>VSTD</Edition>
<Edition>Pro</Edition>
</VisualStudio>
</SupportedProducts>
- Copy the modified file back into the archive.
- Rename it from
.zip
to .vsix
- Run it. The Visual Studio Version Selector should appear and let you pick VS2012.
If the Mono
menu item doesn't appear after restarting VS, you may need to run
devenv /setup
from a VS command prompt (or, from c:program files (x86)microsoft visual studio 11common7ide).
This works for just about any VS2010 extension.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…