Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Hooking Into Visual Studio's Native Build

$
0
0

Hi,

I am building a Visual Studio extension which I would like to have wrap the native visual studio build with my custom tool.

I can accomplish this from the command line with:

mytool.exe devenv.com mySolution.sln [options]

Or

mytool.exe msbuild mySolution.sln [options]

I would like to be able to apply this same wrapping during the build inside visual studio.

Ex)

I press Build->Build Solution

My extension causes visual studio to launch mytool.exe (Native Build)

This way I can wrap the actual build inside the IDE instead of attempting to construct an equivalent command line build.

My need also applies to project and file level builds as well as the full solution example noted above.

ex)

Right-Click a project => Build

And

Select a c/c++ file => Build->Compile

Any Advice is appreciated.

Thanks,

Colin


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>