我有一个模板项目,里面有多个项目,我试图添加一个解决方案文件夹,并将其中的文件添加到根模板中,但是当我从中创建一个新项目时,什么也没发生,并且这里没有文件,只有2个项目是我的代码
<VSTemplate Version="3.0.0" Type="ProjectGroup" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<Name>cc</Name>
<Description></Description>
<ProjectType>CSharp</ProjectType>
<ProjectSubType></ProjectSubType>
<SortOrder>1000</SortOrder>
<CreateNewFolder>true</CreateNewFolder>
<DefaultName>cc</DefaultName>
<ProvideDefaultName>true</ProvideDefaultName>
<LocationField>Enabled</LocationField>
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
<Icon></Icon>
</TemplateData>
<TemplateContent>
<ProjectCollection>
<ProjectTemplateLink ProjectName="$projectname$EF">
EF\EF.vstemplate
</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="$projectname$.Views">
Views\Views.vstemplate
</ProjectTemplateLink>
</ProjectCollection>
<Folder Name="ReadMe" TargetFolderName="ReadMe">
<ProjectItem ReplaceParameters="true" TargetFileName="file1.txt">file1.txt</ProjectItem>
<Folder Name="inside" TargetFolderName="inside">
<ProjectItem ReplaceParameters="true" TargetFileName="file2.txt">file2.txt</ProjectItem>
</Folder>
</Folder>
</TemplateContent>
</VSTemplate>