goo
goo

Reputation: 11

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.

Currently, the setup project displays and error when building a Setup project where its TargetPlatform in incompatible with the projects target plat form (e.g. x86 vs. 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?

regards,

Upvotes: 1

Views: 2167

Answers (1)

AndrewS
AndrewS

Reputation: 3510

I think that's what "Any CPU" config is for (rather than x86 or x64). I usually debug with x86 though since Edit and Continue is disabled in 64 bit mode.

Upvotes: 1

Related Questions