Wire a button macro to custom MSBuild target
Hey everyone,
Hopefully this is the right forum for this question...
Does anyone know how to wire a button in Visual Studio 2005 to call a macro that will initiate an MSBuild build, but calling a specific (non-standard) Target?
For example, if I have an MSBuild task (just edited my .csproj file or whatever) to have
<Target Name="OpenNotepad">
...(for whatever reason, notepad.exe is opened here, just as an example)
</Target>
could I create a macro and add it to a toolbar in Visual Studio so that when I click the button, MSBuild starts with /target=OpenNotepad?
Just curious.![]()
Thanks a ton!
-Matt

