开发者

Generate c# solution template

I want to create a VS2010 c# solution template generator and I'm looking for free/open tools to achieve this.

An example of what I'm trying to do is a winform application takes project name, namespace and database connectionstring and produce a c# customized solution with my custom classes, namespace and references.

I found those:

Is this the right way to do this? Do you know better tools?


You need to look at project templates. Normally you only get prompted for a project name (used as the solution name as well if creating a solution at the same time).

However the project template system can run code (as seen with C++ and ASP.NET MVC Projects).

There is a lot of information in the VS SDK, but you might find examining project templates that launch wizards useful to isolate the useful bits of documentation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜