Last post Nov 19, 2008 01:49 PM by jaredf55
Nov 19, 2008 01:49 PM|jaredf55|LINK
I have a ASP .NET web application which i am trying to create satellite assemblies for non default languages by hand, ie the non-default language resource files are not part of the project. The reason we are doing this is in order to avoid cluttering our
project with hundreds of resource files for the other languages we publish the app to.
From what I have researched, the way to accomplish this task is to use resgen.exe to convert the .resx files to .resource files. So, after creating our language resource files, I ran this on each file. After that completes, I then run the al.exe program
to link the resource files into a satellite assembly. This process works very well for normal windows applications, but when i do this with the resources for an ASP .NET web application, the satellite assembly i generated is ignored when it is placed in the
appropriate folder <application>/bin/<language>. On the other hand, if i place the non-default language resource files in the App_LocalResources/App_GlobalResources folder for the deployed web application, the app will work correctly.
I'm not sure if this is useful, but the steps for our web application deployment are:
1. Build the web app.
2. Generate the satellite assemblies as described above.
3. Add the satellite assemblies to the appropriate directory of the built web application.
4. Deploy the web application to a site.
I would appreciate any ideas on what I may be doing wrong in creating the satellite assemblies.