I have assemvly encoded into Base64 string on disk.
It’s needed it dll representation. I can load it into Assembly object,
but could not find way to save it. Thanks!
So, 1) how to save object of the Assembly class to disk?
2) how to save base64 encoded assembly to binary dll? [answered]
Just treat it as binary – So use
Convert.FromBase64Stringto get abyte[], and write that:For info, in terms of runtime objects;
AssemblyBuilderhas a.Save(...); butAssemblydoes not.