Sunday, January 22, 2012

How to load a remote assembly using Assembly.Load

If you try to load a remote assembly using it’s path you’ll likely get a permission or operation exception.

When using LoadFrom:

Assembly a1 = Assembly.LoadFrom(file);

I got this error. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

5126.image_5F00_thumb_5F00_2C51C4A6.png

Read more: Jon Gallant's Blog
QR: how-to-load-a-remote-assembly-using-assembly-load.aspx

Posted via email from Jasper-Net