How should I create or upload a 32-bit and 64-bit NuGet package?

We’ve been discussing a similar issue on the Chocolatey Google Group. There aren’t any semantics built into NuGet. The requirement wouldn’t be, what processor architecture are you running on. It would have to be what processor architecture is your project targeting. And then that complicates things… you’d have to understand AnyCPU as well.

I think for now, I’m going to upload two packages. I can always published a combined one when I fix up an install.ps1 that can handle querying the project target.

mypackage.x86
mypackage.x64

Leave a Comment