Can you provide the code you are running please? As well as system
information and unit test runner etc....

Tim

On Wed, Oct 6, 2010 at 9:19 AM, GotVino <[email protected]> wrote:

> I have the need to stub non-virtual code which led me to play with
> Microsoft Moles. I am still trying to use Rhino Mocks, but
> unfortunately I'm running into this exception on SOME computers:
>
> System.TypeInitializationException: The type initializer for
> 'Rhino.Mocks.MockRepository' threw an exception. --->
> System.Security.VerificationException: Operation could destabilize the
> runtime.
>
> at Rhino.Mocks.MockRepository..cctor()
> --- End of inner exception stack trace ---
> at Rhino.Mocks.MockRepository..ctor()
> ...
>
> I have not been able to determine if it is a hot fix, OS, or a
> version
> difference, etc. between those computers where it works or doesn't.
> At this point I am not sure what else to do. I have not found a
> working solution on the web either.
> Have you encountered this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Rhino.Mocks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rhinomocks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rhinomocks?hl=en.
>
>


-- 
Tim Barcz
Microsoft C# MVP
Microsoft ASPInsider
http://timbarcz.devlicio.us
http://www.twitter.com/timbarcz

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en.

Reply via email to