Hello Daniele,
The templates available in VS.Net are useful for generating only the barest
skeleton of an application. From what I'm understanding, you are doing a
lot more than that. Am I wrong?
I am not wondering about the reason for creating an app from a template...
I've heard of that many times. Usually, I've heard of folks using XML and
XSLT for this, not VS templates, but the concept is the same.
I am wondering why you'd use Visual Studio templates to do it? Since VS
templates are SO light, you can just as easily create the files for a
project yourself and write them to a hard drive. You can even use the
template files you created for VS if that would make your life easier.
Your project would need the ability to create a .csproj file, which is
something the VS environment gives you right now. It isn't clear from your
messages if you'd need to create a solution file, but the compiler doesn't
need it. The csproj format is fairly simple and human readable, so it
wouldn't take much effort to make a .csproj template that would do the trick
for you. Just look at the csproj files you have and (dare I say it) reverse
engineer.
What I'm getting at: I don't believe you can drive VS from the command line.
I'm wondering why you'd want to drive VS from the command line when you are
already doing 90% of the work yourself?
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.