Skip to content

Instantly share code, notes, and snippets.

@thecodejunkie
Created August 23, 2012 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thecodejunkie/3440250 to your computer and use it in GitHub Desktop.
Save thecodejunkie/3440250 to your computer and use it in GitHub Desktop.
.NET 4.5 verificationexception
'Nancy.Validation.FluentValidation.Tests.FluentValidationValidatorFactoryFixture.Should_return_instance_when_validator_was_found_for_type' failed:
System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
---- System.Security.VerificationException : Operation could destabilize the runtime.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment