Home All Groups Group Topic Archive Search About

Assembly.GetExecutingAssembly

Author
14 Jul 2006 3:32 PM
Bruce
Assembly.GetExecutingAssembly returns a Reflection.Assembly
Is it possible to save that to disk as a dll or exe, so I can load it
later?

Author
14 Jul 2006 6:57 PM
Mattias Sjögren
Bruce,

>Assembly.GetExecutingAssembly returns a Reflection.Assembly
>Is it possible to save that to disk as a dll or exe, so I can load it
>later?

No, you can't take an Assembly object and save it to disk as an
executable.

But isn't it already a dll or exe on disk, or is this a dynamically
created assemlby or one loaded from memory?


Mattias

--
Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Author
14 Jul 2006 8:09 PM
Barry Kelly
"Bruce" <besmi***@hotmail.com> wrote:

> Assembly.GetExecutingAssembly returns a Reflection.Assembly
> Is it possible to save that to disk as a dll or exe, so I can load it
> later?

I also answered in your multipost in .framework.

-- Barry


AddThis Social Bookmark Button