xxtbg / fseye

Automatically exported from code.google.com/p/fseye
Apache License 2.0
0 stars 0 forks source link

FsEye Plugin Loading Error when loading plugins marked as from "unsafe" internet location (affects included plugins) #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Error:

---------------------------
FsEye Plugin Loading Error
---------------------------
An attempt was made to load an assembly from a network location which would 
have caused the assembly to be sandboxed in previous versions of the .NET 
Framework. This release of the .NET Framework does not enable CAS policy by 
default, so this load may be dangerous. If this load is not intended to sandbox 
the assembly, please enable the loadFromRemoteSources switch. See 
http://go.microsoft.com/fwlink/?LinkId=155569 for more information.

Affects: FsEye 2.0.0 beta1-3

Workaround: navigate to the fseye plugins fold, and for each plugin .dll 
right-click -> Properties -> Unblock -> OK.

Solution: use 
http://msdn.microsoft.com/en-us/library/system.reflection.assembly.unsafeloadfro
m.aspx to load plugins.

Original issue reported on code.google.com by stephen....@gmail.com on 10 Aug 2012 at 12:22

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 10 Aug 2012 at 1:07

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 10 Aug 2012 at 1:08

GoogleCodeExporter commented 9 years ago
Many thanks to Howard Mansell for finding and identifying the root cause and 
solution for this issue!

Original comment by stephen....@gmail.com on 10 Aug 2012 at 1:24