[英]C# Single Deployment project for 32-bit and 64-bit application
I am creating a deployment project.我正在创建一个部署项目。 I would like it include automatically the correct Solution Platform for the primary output(.exe) and correct content files (32-bit or 64-bit) depending on the Solution platform.我希望它根据解决方案平台自动包含主输出(.exe)的正确解决方案平台和正确的内容文件(32 位或 64 位)。
Currently, the setup project displays and error when building a Setup project where its TargetPlatform in incompatible with the projects target plat form (eg x86 vs. x64)目前,安装项目在构建其 TargetPlatform 与项目目标平台不兼容的安装项目时显示和错误(例如 x86 与 x64)
According to some threads, the only way to create deployment application 32-bit or 64-bit projects is to create separate Setup projects for the 32 and 64 -bit respectively Are there any ways we could just create a single deployment projects for all target playform?根据一些线程,创建部署应用程序 32 位或 64 位项目的唯一方法是分别为 32 位和 64 位创建单独的安装项目有什么方法可以为所有目标 playform 创建一个部署项目?
regards,问候,
I think that's what "Any CPU" config is for (rather than x86 or x64).我认为这就是“任何 CPU”配置的用途(而不是 x86 或 x64)。 I usually debug with x86 though since Edit and Continue is disabled in 64 bit mode.我通常使用 x86 进行调试,因为在 64 位模式下禁用了“编辑并继续”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.