I am getting the below error when I run "Library lib = new Library();".
A ''System.IO.FileLoadException'' was thrown from the .NET AppDomain ''PTS_Beta_Print'' to the broker from the source ''Seagull.Security'' with the message ''Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.''.
The stack trace for the exception is '' at Seagull.Security.EffectivePermissionsManager..ctor()
at Seagull.Librarian.Core.SecuritySupport.ValidatePermission(SecurityApplication application, SecurityPermission permission)
at Seagull.Librarian.Core.SecuritySupport.ValidatePermission(SecurityPermission permission)
I have tried to compile with the below but had no luck.
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
stack trace seems to indicate this has something to do with security setting(?).
Please give your advice on this problem.
Please sign in to leave a comment.