I have two separate VS2005 projects, one that contains a number of custom controls and one that contains a WinForms project that needs those custom controls. I don't need an installer to distribute the control library to third parties, it just needs to be available in the other project I'm working on.
I'm trying to execute the batch file described in this post as a post build event of the custom control project. However, the line:
"%VS80COMNTOOLS%\..\IDE\devenv.exe" /command Tools.InstallCommunityControls
results in a new instance devenv starting and displaying the error message:
Command "Tools.InstallCommunityControls" is not valid.
When I open a command window in VS2005, InstallCommunityControls is not available in Intellisense for the Tools command.
Is this the right approach? Any thoughts on what I'm doing wrong?
I will be upgrading this project to either VS2008 or VS2010 in the next week or two. Will the procedure be different?