[英]Set Visual Studio up as x64 only by default
I don't ever want AnyCPU or x32 for any of my C# projects or solutions.我的任何 C# 项目或解决方案都不需要 AnyCPU 或 x32。 Is there a way to enforce this in Visual Studio 2017 whenever a solution or project is created.
每当创建解决方案或项目时,是否有办法在 Visual Studio 2017 中强制执行此操作。
Thanks谢谢
You can create a new project template by creating a new project, configuring it how you want and then going to Project > Export Template
您可以通过创建一个新项目,根据需要对其进行配置,然后转到
Project > Export Template
This will create a new project template that will be re-imported into Visual Studio so you can build projects off.这将创建一个新的项目模板,该模板将重新导入 Visual Studio,以便您可以构建项目。
You can find all templates here:您可以在此处找到所有模板:
%Program Files (x86)%\Microsoft Visual Studio\{year}\{version}\Common7\IDE\ProjectTemplates\ %Program Files (x86)%\Microsoft Visual Studio\{year}\{version}\Common7\IDE\ProjectTemplates\
So it is possible to change anything you want according to your needs.因此,可以根据您的需要更改您想要的任何内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.