I am working on a full vertical stack template for Visual Studio (it is on Github if you want to help: https://github.com/Adron/infrastructure
My problem is that I could not add the assembly folder to the root of the solution. In separate project templates (which I have three in the general template of the parent solution), there are many separate elements, such as files and folders. But when I try to add something similar to this parent template, it reports that it is not valid in this XML schema / file.
My current XML solution file is as follows:
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="ProjectGroup"> <TemplateData> <Name>ASP.NET MVC 3 + Razor + Machine.Specifications Infrastructure Solution</Name> <Description>This Visual Studio Template provides the following pieces for getting a kick start when building well designed web sites using good patterns.</Description> <EnableEditOfLocationField>true</EnableEditOfLocationField> <EnableLocationBrowseButton>true</EnableLocationBrowseButton> <ProvideDefaultName>true</ProvideDefaultName> <Icon>Icon.ico</Icon> <ProjectType>CSharp</ProjectType> <SortOrder>1000</SortOrder> <CreateNewFolder>true</CreateNewFolder> <DefaultName>Infrastructure</DefaultName> <LocationField>Enabled</LocationField> <PreviewImage>Preview.png</PreviewImage> </TemplateData> <TemplateContent> <ProjectCollection> <ProjectTemplateLink ProjectName="Infrastructure.Web">Web\MyTemplate.vstemplate</ProjectTemplateLink> <ProjectTemplateLink ProjectName="Infrastructure.Specifications">Specifications\MyTemplate.vstemplate</ProjectTemplateLink> <ProjectTemplateLink ProjectName="Infrastructure.Data">Data\MyTemplate.vstemplate</ProjectTemplateLink> </ProjectCollection> </TemplateContent> </VSTemplate>
Any ideas on how to add folders or individual assets? Thanks...
Adron
source share