C#.NET framework 3.5 SP1: satellite assemblies and FullTrust issues when the exe is on the network.
- by leo
Hi,
I'm executing my .NET app from a network share.
Since framework 3.5 SP1, and as explained here: http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx, the main exe and all the DLLs located in the same folder (but not subfolders) are granted with FullTrust security policy.
My problem is that I have subfolders for satellite assemblies with localized strings.
Namely, I have:
1) FOLDER\APP.EXE
2) FOLDER\A whole bunch of DLLs
3) FOLDER\LANGUAGE1\Satellite assemblies
4) FOLDER\LANGUAGE2\Satellite assemblies
1 and 2 are automatically granted with FullTrust.
3 and 4 are not and my application is really slow because of that.
Is there a way to grant 3 & 4 FullTrust security policy at runtime, since the application running has FullTrust?
If not, is there a clean way to have satellite assemblies merged into only one DLL?
Thanks a lot.