Questions tagged [satellite-assembly]

A satellite assembly is a compiled library (DLL) that contains (“localizable”) resources such as strings, bitmaps, etc. You are likely to use them when creating a multilingual (UI) application. By definition, satellite assemblies do not contain code, except for that which is auto generated.

A satellite assembly is a compiled library (DLL) that contains (“localizable”) resources such as strings, bitmaps, etc. You are likely to use them when creating a multilingual (UI) application. Satellite assemblies provide you with the capability of designing and deploying your solution to multiple cultures, rather than hard coding strings, bitmaps, etc., into your main application. Satellite assemblies are used to deploy applications in multiple cultures (not languages), with 1 satellite assembly per culture - this is the default behavior, but you can obviously have more granular control if you handle the build process manually.

By definition, satellite assemblies do not contain code, except for that which is auto generated. Therefore, they cannot be executed as they are not in the main assembly. However, note that satellite assemblies are associated with a main assembly that usually contains default neutral resources (for example, en-US). A big benefit is that you can add support for a new culture or replace/update satellite assemblies without recompiling or replacing the application’s main assembly.

Resource files have the extension .resx and are stored in folders matching the culture. Once compiled, .resources files are created. These are binary representations of the .resx files. Once the satellite assembly is generated, the resources will be stored in a .dll file.

From MSDN blogs

98 questions
2
votes
1 answer

Is it possible to generate Satellite Assemblies from within code?

I'm about to elaborate a solution for simplifying a translator tool. Therefore I currently try to automatically compile a Satellite Assembly from within my code. So what I want to achive is to replace a manual run of the following command: AL.exe…
infotoni91
  • 722
  • 3
  • 13
2
votes
1 answer

How do I reference a font resource in a satellite assembly?

I have a localised WPF application and I need to embed a font for each locale. I have a font added into my project and it's Build Action is set to Resource. If I remove the en-US from my .csproj (which eliminates the…
James Hay
  • 12,580
  • 8
  • 44
  • 67
2
votes
0 answers

Include all localized resources in MSI - VS2008

I am building an MSI for a windows service application that has a set of satellite assemblies with localized resource data in them. I can manually include the Localized content from the projects but since my application contains several projects…
2
votes
3 answers

How to add satellite assemblies to a project in Visual Studio

I'm working in a project which references assemblies from a third company. These assemblies have satellite assemblies that I'm copying with a post-build event to the bin folder. Is There a way to include those third party satellite assemblies into…
Ignacio Soler Garcia
  • 21,122
  • 31
  • 128
  • 207
2
votes
1 answer

MSBuild creates satellite assemblies for the wrong framework version

I have got a VS2010 solution which creates several assemblies for .NET 2.0. This also includes satellite assemblies. When I create everything with VS2010 it is fine. But I have a XP machine working as a build server using MSBuild. The satellite…
ZoolWay
  • 5,411
  • 6
  • 42
  • 76
2
votes
1 answer

Add Satellite Assemblies at runtime

I have created an application that can switch cultures at runtime. But now I want to add a new Satellite Assembly to my application while the application keeps running. I copy the specific culture folder (e.g. folder af with a…
ffonz
  • 1,304
  • 1
  • 11
  • 29
2
votes
2 answers

How to stop scanning through .resources.dll

I am examining my application using Process Monitor. (.NET framework 4, WPF app) I am observing that for every dll in my application, it is looking for "mydllname".resources.dll My application has more than 100 dll's. But is has only one language…
Control
  • 45
  • 3
1
vote
1 answer

WPF satellite assemblies not picked up

I have a demo app, and in it I use a 3rd party library that has several languages. To test whether the localization works, I set the CurrentUICulture to dutch: Thread.CurrentThread.CurrentUICulture = new CultureInfo("nl-NL"); I also set a…
Geert van Horrik
  • 5,689
  • 1
  • 18
  • 32
1
vote
1 answer

How do i make satellite assemblies work with my WPF app in PublishSingleFile

I have an existing localized WPF application, and my localizations are stored in a bunch of .resx files, and accessed through the ".Designer.cs" files generated by the default resx custom tool. Each supported language has its own version of every…
1
vote
0 answers

Updating satellite assembly without re-compiling

I have a Class Library project that is used by many other web applications. I want to create a satellite assemblies for that class library. I don't want to have to recompile / redeploy the class library when I change one of the resource…
Hugo Migneron
  • 4,867
  • 1
  • 32
  • 52
1
vote
2 answers

.net satellite resource dll editor

Is there any free resource editor to edit compiled .net managed assemblies? One of my clients requested to edit texts on windows forms controls of their app. I put all texts(strings) in a separate resource file. I can edit them in Visual studio but…
Hamed
  • 279
  • 1
  • 3
  • 13
1
vote
1 answer

Why can't MonoDevelop can't find the al2 linker to build satellite assemblies for ZedGraph?

System Info: Windows 7: MonoDevelop 2.4.2.1 Mono 2.6.7 Trying to compile ZedGraph (a charting control). But it has resources for multilanguage support which won't compile into a satellite assembly. Please realize this all compiles, builds, and…
Wayne
  • 2,959
  • 3
  • 30
  • 48
1
vote
3 answers

Satellite assembly is not picked up by ASP.NET app

I have a web project called "TestResourceApp" with Labels.resx in App_GlobalResources folder. I want to add another language by creating a satellite assembly. Here are the steps I took to create the satellite assembly. The default text always get…
Metro
  • 1,121
  • 1
  • 13
  • 33
1
vote
1 answer

Using premake with multi localizations

I work with premake 5 for few days now. I'm currently trying to port our VS2015 solution (mainly C++ native and CLI projects) to a premake 5 solution. I had no problem so far but now I'm not able to build resource libraries for all languages we…
dom_beau
  • 2,437
  • 3
  • 30
  • 59
1
vote
1 answer

How to copy Satellite assembly to different folder after build?

I have a WPF project and I have added support for localization using Satellite assembly. I have 2 cultures supported namely en-US and fr-CA. Now when I build the project, I get 2 folders namely en-US and fr-CA and the corresponding Satellite…