visual studio -在Powershell/MSBuild中从现有的c#项目模板中创建c#项目模板

本文关键字:项目 创建 studio Powershell MSBuild visual | 更新日期: 2023-09-27 18:01:32

Visual Studio允许从现有模板创建项目模板。我想知道是否有一个选项做同样的一些powershell脚本?

visual studio -在Powershell/MSBuild中从现有的c#项目模板中创建c#项目模板

不能使用powershell脚本创建项目。你需要在vs extension/add-in中以编程方式创建项目。查看这篇文章:https://msdn.microsoft.com/en-us/library/ms228767(v=vs.120).aspx