英文:
How to configure/remove fields from the "Configure your new project" when creating a new project template in visual studio
问题
How can I remove certain fields from the "Configure your new project" when creating a new project template in Visual Studio?
For example, there is a Framework section where you can choose your Framework.
I have already set the Framework in my .vstemplate file and ProjectTemplate.csproj within my project template.
I want to remove this field so the user won't need to select it.
Is there any API or a way to do so?
英文:
How can I remove certain fields from the "Configure your new project" when creating a new project template in visual studio?
For an example, there is a Framework section where you can choose your Framework.
I within my project template already set the Framework in my .vstemplate file and ProjectTemplate.csproj.
I want to remove this field so the user won't need to select it.
Is there any API or a way to do so?
答案1
得分: 0
解决方法是删除 RequiredFrameworkVersion 元素,您可以参考文档:
英文:
The solution is to remove the RequiredFrameworkVersion element, You can refer to the docs:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论