all groups > visual studio .net ide > march 2004 >
You're in the

visual studio .net ide

group:

VS.NET


VS.NET SatheeshKarthik NO[at]SPAM yahoo.com
3/31/2004 2:20:25 PM
visual studio .net ide: Hi,

I have a VS.NET solution which consists of 4 projects. In that, one
project runs and generates code for other project. I made a batch file
for this to call this from outside (Command). Now My question,
whenever I open my solution, is there any way to execute that batch
file and generate the code for my other project.

If you say Macros, I need to ship this macros to everybody whoever
opens my solution file. I dont want that solution. Can it be done with
a call to my simple batch file from VS.NET IDE when I open my Solution
file. (prebuild and post build or not a proper events. Before build, I
need all those files to be generated.

Thanks,
Re: VS.NET Bill
4/8/2004 12:13:01 PM
There is no declarative hook for executing commands or .exe's on solution
open. If you need to take an action on solution open, you'll need an addin
or macro that hooks the solution open event. There is a way to have an
add-in that loads only when a particular solution opens, but you still need
to deploy the add-in and have people install it if they're going to use your
solution and get this behavior.

Sorry there's no good answer for you!

Bill


[quoted text, click to view]

AddThis Social Bookmark Button