Groups | Blog | Home
all groups > dotnet sdk > july 2005 >

dotnet sdk : Linking at run time


Jan
7/25/2005 8:22:58 AM
Hey Folks,

I'm working on a file packager, and I though I'd use a resource only
assembly. It works fine but I'm currently Shelling out to use AL.exe.

I'd prefer to use Reflection.Emit. However
AssemblyBuilder.AddResourceFile(...) only links the file and does not
embed it as a resource.

Anyone know how I can embed the files instead?

Thanks in advance
Jan
William Wallace
7/28/2005 4:05:03 PM
Consider using a serializable class instead (Load the files to be packaged
into a collection the serialize it to a single file)

--
William Wallace



[quoted text, click to view]
Jan
7/29/2005 3:31:24 AM
Thanks William,

I know i'm doing the wrong thing building a resource assembly, i
suppose i'll just re-implement.

Thanks
Jan
Opposite
7/31/2005 4:22:01 PM


[quoted text, click to view]
AddThis Social Bookmark Button