vstemplate

How to include external "lib" directory in multi-project .vstemplate?

I've written a multi-project .vstemplate file, which works alright, except that the projects have some external dependencies (.dll's) that I want to include with the template, as a peer directory to all the project directories, such that the generated solution looks like: slndir lib # dependencies proj1 proj2 I have everyt...

VS Item Template Compiled Custom Parameter

I would like to create a custom parameter for a vstemplate containing some C# code. Basically I want to put DateTime.Now.ToString("yyyyMMddHHmmssfff") in my template (the formatted date, not the code). Basically I want to achieve the equivalent of the T4 below in my item template. [Migration(<#= DateTime.Now.ToString("yyyyMMddHHmmssfff"...

Visual Studio Templates - adding additional pre-existing projects

Hey all, I'm working on a Visual Studio template where the generated project relies on a number of references, which happen to be other projects under source control. The question is how do I set this up in my ProjectGroup template? For example, if I have an already existing project at "C:\Stuff\MyUtilityProject\Utility.csproj" with ...

VSX: ProjectFlavor-only item VSTemplates?

In Visual Studio 2005, 2008, and 2010, is it possible to define an Item Template that only appears in the Add Item dialog for projects of a particular ProjectFlavor? I'd rather not clutter all of the other unrelated projects' Add Items dialog if I can help it. Seems that the <ProjectType>CSharp</ProjectType> is a fixed enumeration and ...

How to include external files in multi-project .vstemplate?

Hello, I'm creating a VS2010 multi project template and I'm trying to make add a file (.hgignore) to the solution (not into a project) from the vstemplate. I tried this but it doesn't work : < VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="ProjectGroup"> < TemplateData>...< /TemplateDa...