NServiceBus icon indicating copy to clipboard operation
NServiceBus copied to clipboard

NServiceBus-Host Nuget Package references both 32 & any CPU exe

Open kblooie opened this issue 15 years ago • 2 comments

When adding or upgrading the NServiceBus-Host nuget package, both the any cpu and 32 bit host executables are referenced, which results in a broken build. To fix, you have to go to every project that references the host and manually remove the reference each time you upgrade.

I think the any cpu exe should be referenced by default.

kblooie avatar Nov 08 '11 16:11 kblooie

You can use the references attribute to explicitly reference the default exe when installing

http://docs.nuget.org/docs/reference/nuspec-reference

kblooie avatar Nov 18 '11 17:11 kblooie

Hi,

I changes the build script. Now NServiceBus.Host-CI should not install the 32 version (NServiceBus.Host32). There is a new NuGet package (called NServiceBus.Host32-CI) that will install the NServiceBus.Host32 and not the NServiceBus.Host.

shlomii avatar Nov 28 '11 15:11 shlomii