简体   繁体   English

C# 32 位和 64 位应用程序的单一部署项目

[英]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.

相关问题 具有C#的64位解决方案ASP.NET和一个C ++中的32位项目 - 64-bit solution ASP.NET with C# and one project 32-bit in C++ 将在64位系统上构建的C#中的应用程序与在32位系统上运行的应用程序匹配 - Matching application in C# that built on 64-bit system to running on 32-bit system 我可以在32位系统上运行在64位系统上开发的C#应用​​程序吗? - Can I run a C# application developed on a 64-bit system on a 32-bit system? 在 64 位机器上以 32 位方式运行 C# 应用程序 - Running a C# application as 32-bit on a 64-bit machine 使用Environment.Is64BitProcess从c#应用程序动态调用32位或64位DLL - Dynamically calling 32-bit or 64-bit DLL from c# application using Environment.Is64BitProcess 使用32位应用程序中的64位库 - Use 64-bit library from 32-bit application 64位和32位应用程序之间的桥梁 - Bridge between 64-bit and 32-bit application 当完整路径解析为64位目录时,无法从32位C#应用程序启动快捷方式(lnk)文件 - Unable to launch shortcut (lnk) files from 32-bit C# application when the full path resolves to a 64-bit directory 从64位c#WinForms应用程序调用第三方32位dll时的事件处理 - Event handling at calling a third party 32-bit dll from a 64-bit c# WinForms application C# 64 位 COM 组件,用于 32 位应用程序和 64 位 Microsoft Excel Z6E3BZ7E6A9F7970CZ 客户端 - C# 64-bit COM component for both 32-bit app and 64-bit Microsoft Excel VBA clients
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM