Weirdness with TestDriven.net

I installed a whole grip of stuff last night on my laptop at home, including
r# 248, the Linq CTP, the May Atlas ctp, and dottrace 211 (I'm brave, what
can I say). Afterward, I attempted to run some unit tests with TestDriven,
and I got an exception.

Today, I installed 248 at work, and got the same exception. Here it is:

-


Test started: Assembly: MySpace.ResourceManager.Test.dll -



System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. --->
System.Runtime.Serialization.SerializationException: Because of security
restrictions, the type TestDriven.TestRunner.Framework.TestResultSummary
cannot be accessed. ---> System.Security.SecurityException: Request failed.

at
System.Runtime.Serialization.FormatterServices.nativeGetSafeUninitializedObject(RuntimeType
type)

at
System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Type
type)

The action that failed was:

Demand

The type of the first permission that failed was:

System.Security.PermissionSet

The demand was for:

]]>


Anybody know what's going on here? I'm more than happy to provide a sample
project, if necessary.

Ryan


1 comment
Comment actions Permalink

i uninstalled dottrace build 211, and the problem went away. apparently, it
wasn't r# after all.



"Ryan Cammer" <rcammer@myspace.com> wrote in message
news:e4t1u5$9d9$1@is.intellij.net...
>I installed a whole grip of stuff last night on my laptop at home,
>including r# 248, the Linq CTP, the May Atlas ctp, and dottrace 211 (I'm
>brave, what can I say). Afterward, I attempted to run some unit tests with
>TestDriven, and I got an exception.
>

Today, I installed 248 at work, and got the same exception. Here it is:

>

------ Test started: Assembly: MySpace.ResourceManager.Test.dll ------

>

System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. --->
System.Runtime.Serialization.SerializationException: Because of security
restrictions, the type TestDriven.TestRunner.Framework.TestResultSummary
cannot be accessed. ---> System.Security.SecurityException: Request
failed.

>

at
System.Runtime.Serialization.FormatterServices.nativeGetSafeUninitializedObject(RuntimeType
type)

>

at
System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Type
type)

>

The action that failed was:

>

Demand

>

The type of the first permission that failed was:

>

System.Security.PermissionSet

>

The demand was for:

>

<PermissionSet

>

version="1"

>

Unrestricted="true"/>

>
>

Anybody know what's going on here? I'm more than happy to provide a sample
project, if necessary.

>

Ryan



0

Please sign in to leave a comment.