我正在尝试从多个项目创建一个模板,但在编译期间,我收到了错误消息:
.vstemplate看起来像:
<?xml version="1.0" encoding="utf-8"?>
<VSTemplate Version="3.0.0" Type="Project" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"
xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010">
<TemplateData>
<Name>SapLogonPadStarterKit</Name>
<Description>SapLogonPadStarterKit</Description>
<ProjectType>CSharp</ProjectType>
<Icon>sap_starter.png</Icon>
<RequiredFrameworkVersion>2.0</RequiredFrameworkVersion>
<SortOrder>1000</SortOrder>
<TemplateID>a7aede48-56d0-4eb3-9058-dab864b8d60e</TemplateID>
<CreateNewFolder>true</CreateNewFolder>
<DefaultName>SapLogonPadStarterKit</DefaultName>
<ProvideDefaultName>true</ProvideDefaultName>
</TemplateData>
<TemplateContent>
<ProjectCollection>
<ProjectTemplateLink ProjectName="Libraries">
Libraries\Libraries.vstemplate
</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="Libraries_Test">
Libraries_Test\Libraries_Test.vstemplate
</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="SapLogonPad">
SapLogonPad\SapLogonPad.vstemplate
</ProjectTemplateLink>
<ProjectTemplateLink ProjectName="SapLogonPadTest">
SapLogonPadTest\SapLogonPadTest.vstemplate
</ProjectTemplateLink>
</ProjectCollection>
</TemplateContent>
</VSTemplate>