satelliteassemblies element and ResourceManager

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I have the .NET Framework v1.1 sp1 installed and am trying to use the
satelliteassemblies config section to prevent loading resource assemblies
(myAssembly.resources.DLL) for our auto deployed application. When I add the
satelliteassemblies element to the applications configuration file, I
receive a configuration exception stating: Unrecognized configuration
section satelliteassemblies.

Here is the config file, with the assembly entries removed:
<configuration>
<satelliteassemblies>
snip...
</satelliteassemblies>
</configuration>

The following knowledge base article indicates that this is available in the
Framework 1.1 sp1:
http://support.microsoft.com/default.aspx?scid=kb;en-us;839092

I did notice that my machine.config did not contain an entry for the
appropriate section handler.

Thanks in advance,
Mike
 
Hi

Based on my understanding, satelliteassemblies is used only when you
applied the hotfix but not the SP1.

"After you apply this hotfix, you must use a config file to limit resource
probing of satellite assemblies. To do this, create a config file for each
application that you deploy. The following code example is a config file
that specifies two satellite assemblies:"

After you applied the SP1, the problem should have been fixed.
The satelliteassemblies is used for those who can not applied SP1 but use
the hotfix ones.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Peter,

Thanks for your response. We still seem to have some requests for
ASSEMBLY.resources.DLL from a client with SP1 installed. I've noticed these
requests are only for assemblies that are part of our plugin infrastructure.
These are of course loaded using Assembly.Load() and/or
Assembly.LoadWithPartialName(). In either case we are not using the full
strong name. The NeutralLanguageAtribute is in use on all our assemblies.

What could be causing the extraneous request for these assemblies?

Thanks again,
Mike
 
Hi

So far it is hard to guess what is the cause.
Can you help to provide a simple reproduce sample for me do further
troubleshoothing?
If you have any concern, you may reach via removing "online" from my email
address.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top