Couldn't those resources be embedded into the assemblies that you are
loading at runtime?  If so, you can access the dynamically loaded assembly's
resources from the exe using the ResourceManager object.

Paul Ballard
[EMAIL PROTECTED]


>From: Peter Zaborski <[EMAIL PROTECTED]>
>Reply-To: "Moderated discussion of advanced .NET topics."
><[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [ADVANCED-DOTNET] embedding resources
>Date: Fri, 31 May 2002 09:40:43 -0600
>
>I posted this to the "regular" dotnet mailing list but had no replies.
>Perhaps someone on this list has an answer?
>
>I know it's possible to embed resources in an assembly during the compile
>process. Which works fine if you know all the resources you need at that
>time. However, I have a situation where I need a resource in my EXE
>assembly, but I don't know about the resource until run time. In case you
>are wondering, this is for a "generic container" type application which
>loads satellite assemblies containing add-ins via reflection using late
>binding -- the container does not know all the add-ins it will use at
>compile time. The application and its add-ins are all strictly desk top
>WindowsForms, no WebForms stuff at all.
>
>Any one know if it's possible to dynamically (ie. at run time) embed
>resources in an EXE assembly? Or in some other way make it appear that the
>resources are embedded in the executing assembly at run time?
>
>You can read messages from the Advanced DOTNET archive, unsubscribe from
>Advanced DOTNET, or
>subscribe to other DevelopMentor lists at http://discuss.develop.com.


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to