ConfuserEx
ConfuserEx copied to clipboard
System.Security.VerificationException: Operation could destabilize the runtime Google Api, ConfuserEx
We are using ConfuserEx 1.0.0.0 Final from Nuget to obfuscate our Dynamics CRM Generic Library project running .NET 4.5.2.
Registration of the dll and actually using the included methods works with one exception. The Geocode method does not work and throws the below message.
Operation could destabilize the runtime.DP.GenericLibrary.Processes.Geocode.Geocode: System.Security.VerificationException: Operation could destabilize the runtime
We tried adding the below lines to the AssemblyInfo without success. [assembly: AllowPartiallyTrustedCallers] [assembly: SecurityRules(SecurityRuleSet.Level1)]
Our .crproj looks like this:
<project outputDir="..\DP.GenericLibrary.Confused" baseDir="" xmlns="http://confuser.codeplex.com">
<rule pattern="true" preset="maximum" inherit="false" />
<module path="bin\Release\DP.GenericLibrary.dll" snKey="key.snk" snKeyPass="" />
</project>