Localised Assemblies Not Copied

Topics: General
Jul 18, 2012 at 4:50 PM

Hi all,

I'm having major problems getting satellite assembly packages to work.

I've got a main package and several satellite packages containing the resource DLLs. Packages are named correctly, language is set and the DLLs are in the correct place.

Upon installation of the satellite package, both packages are installed and the main DLL reference added to the project. Still the satellite assembly is not copied over to the main package, thus it won't get picked by VS.

I also tried the sample available here: https://github.com/NuGet/SatellitePackageSample
Same behaviour.

Are there any pitfalls that need be observed or is there any way to debug this and find out why the assemblies won't get copied?

Thanks!

Cheers,
Markus

Jul 18, 2012 at 5:13 PM
Do you set the dependency on the main package as strict dependency, e.g [1.0] ?

Sent from my Windows Phone

From: mirle
Sent: 7/18/2012 8:51 AM
To: Luan Nguyen
Subject: Localised Assemblies Not Copied [nuget:373915]

From: mirle

Hi all,

I'm having major problems getting satellite assembly packages to work.

I've got a main package and several satellite packages containing the resource DLLs. Packages are named correctly, language is set and the DLLs are in the correct place.

Upon installation of the satellite package, both packages are installed and the main DLL reference added to the project. Still the satellite assembly is not copied over to the main package, thus it won't get picked by VS.

I also tried the sample available here: https://github.com/NuGet/SatellitePackageSample
Same behaviour.

Are there any pitfalls that need be observed or is there any way to debug this and find out why the assemblies won't get copied?

Thanks!

Cheers,
Markus

Jul 18, 2012 at 5:16 PM

No, I just found out seconds ago... d'oh,.

Thanks a bunch though!

Jul 19, 2012 at 2:32 PM

Ok, here's another twist:

I'm running an internal nuget server on a Windows Server 2008 R2.

If I access (nuget package source) the repository via http, the satellite assemblies are not copied.

If I access the repository's Package folder directly via Windows Share, the satellite assemblies are copied.

In both cases the downloaded package files are identical.

Cheers,
M.