Hi Nicholas, Your works is great. I have started using it in my project and also for reference to something i have to build.
I am building a build and dev package as part of my work for VS. We have our build system wwritten around msbuild and are also writing targets for several other tasks (like reference handling, code release, distribution etc).
Here are a few things I need to achieve.
1. We need full visual studio integration and also the facility to do all the functions with command line. So, i thought i would write all the functionalities as msbuild targets,which will give me command line flexiblity for free.
2. Now, i need to get GUI options as a visual studio add-in that will have all these targets as menu options for user to trigger. Any parameters required will have to be passed from the GUI. How do i achieve GUI interaction?
3. Since we are doing everything in Visual Studio, we need make change to the project files etc. I somehow would like to avoid reloading of the project. Can this be done? I found from MSDN that making changes to the cached sln/proj file would not relaoad
project, but will still not pick up the values. How can i do this?
4. How can i get these targets work in process in visual studio? I don't want to shell out the commands to a command line and run them. How do i integrate into VS and get it working? This would be very useful and less annoying for developers.
5. I know VS uses the in process compiler for c# and VB projects, is there someway i can utilize thsi to get what i need done? The option you have mentioned as annoying in your write up is probably what i should be using.
6. My idea for the add-in menu for the target is to keep it completely dynamic. I want the add0in to read some property in all my targets (like "IsVSRunnable") and pick those and add it to the menu.
I know this is a lot for a clarification. ANy help