Replace Visual Studio build system with an Extension

Viewed 69

The ReSharper extension for Visual Studio enables you to click a button Enable ReSharper Build which "overrides and replaces" the Visual Studio build system. After clicking this button, running any build action (right-click, ctrl-shift-b, build menu, etc) in Visual Studio appears to be "redirected" to ReSharper Build. Even Standard F5 and Debug are directed to ReSharper's build window and wait for ReSharper to build before running.

I'm interested in developing my own extension that replaces the Visual Studio build system with my own build system in the same way that I see this done with ReSharper. However, I'm not finding any documentation on Visual Studio's extension API that hints at how this can be done. I'm not surprised, as I don't think this is a standard thing to do by any means, but apparently it is possible in some way, because ReSharper has done it.

How can I write an extension that allows the user to click a button that replaces Visual Studio's build process with my own?

0 Answers
Related