We use NuGet
to manage our third party packages.
We also have to build both an x86
and x64
builds.
We now have a dependency on a NuGet
package (zeromq
) that depends on a C dll and therefore has an x86
and x64
releases.
When searching in Nuget I only see two distinct projects (zeromq x64 and zeromq x86) and not one unified project.
Constraint
Our build process on the developers machines is to select the appropriate configuration(ie Debug/x86, Release x64, etc) in visual studio and build so any solution we use would have to fit into the visual studio GUI( ie MSBuild soltuions wouldn't' really fit our current workflow).
EDIT
Addendum to the constraint....If we can't do this automatically within NuGet, is there a way to do this with some sort of powershell prebuild script? ie if we know we are building the x86 build is there a way to hook NuGet so that it uses the x86 packaes instead of the x64 packages?
What is the proper way to manage NuGet Packages like this??