如果我这样做,使用VSIX项目
<VSTemplate Include="ProjectTemplate1.vstemplate">
<OutputSubPath>Sample Test Project</OutputSubPath>
</VSTemplate>
Run Code Online (Sandbox Code Playgroud)
位置是 \ bin\Debug\ProjectTemplates\CSharp\Sample Test Project\1033\ProjectTemplate1.zip
这将在VS Installed Templates中的Visual C#Template中创建项目模板.但是,我不希望将Visual C#作为我的项目类型节点.它应该在Visual C#项目类型节点之外.
我怎样才能做到这一点?我需要做出哪些改变以及如何改变?请帮忙
\n\n.vstemplate 文件根节点中的 \xe2\x80\x9cType\xe2\x80\x9d 属性。项目模板位于 \xe2\x80\x9cProjectTemplates\xe2\x80\x9d 下。项目模板位于 \xe2\x80\x9cItemTemplates\xe2\x80\x9d 下。
\n路径的 \xe2\x80\x9cLanguage\xe2\x80\x9d 部分(在我们的示例中为 \xe2\x80\x9cCSharp\xe2\x80\x9d)由 .vstemplate 文件中的节点确定。
\n
因此,您似乎需要从不同类型的项目创建项目模板,或者在您正在创建的项目中编辑项目模板类型。
\n 归档时间: |
|
查看次数: |
571 次 |
最近记录: |