Quantcast
Channel: Fluent Validation for .NET
Viewing all articles
Browse latest Browse all 1917

New Post: verificationexception on .net runtime 4.5 final release

$
0
0

Two other solutions that are acceptable in some situations.

Modify the fuluentvalidation src code.

1.

Comment out the following lines in Src/CommonAssemblyInfo.cs

#if !SILVERLIGHT[assembly: AllowPartiallyTrustedCallers]#endif

 

OR

2. Add the following to  Src/CommonAssemblyInfo.cs

[assembly: SecurityRules(SecurityRuleSet.Level1, SkipVerificationInFullTrust = true)]


Viewing all articles
Browse latest Browse all 1917

Trending Articles