When I put [assembly: AllowPartiallyTrustedCallers] in AssemblyInfo.cs for any project that references the NuGet package for this then that project cannot compile.
When I also add [assembly: SecurityRules(SecurityRuleSet.Level1, SkipVerificationInFullTrust = true)] it works again, but IMO setting SecurityRuleSet.Level1 is not the cleanest solution in the long term.
There is the same behavior with the old System.Windows.Interactivity.dll.
Can this be checked? It would be nice if it worked cause our solution makes heavy use of AutoMapper and AutoMapper is much faster when [assembly: AllowPartiallyTrustedCallers] is set.
Hi,
When I put [assembly: AllowPartiallyTrustedCallers] in AssemblyInfo.cs for any project that references the NuGet package for this then that project cannot compile. When I also add [assembly: SecurityRules(SecurityRuleSet.Level1, SkipVerificationInFullTrust = true)] it works again, but IMO setting SecurityRuleSet.Level1 is not the cleanest solution in the long term. There is the same behavior with the old System.Windows.Interactivity.dll.
Can this be checked? It would be nice if it worked cause our solution makes heavy use of AutoMapper and AutoMapper is much faster when [assembly: AllowPartiallyTrustedCallers] is set.