Hi.
When my project is compiled I get the following exception in the Tests
Output  pane in VS:

============================================================================
[error] An exception was thrown while exploring tests.
        Location: C:\Dev\windows\NC\NC.Entities.Test\TestRun.cs
        Reference: NetworkCatcher.Entities.Test.TestRun, NC.Entities.Test,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=807fc02bc4ce69db
        Details: System.NotSupportedException: Unsupported type:
NetworkCatcher.Entities.Run
   at
Gallio.Common.Reflection.Impl.CecilReflectionPolicy.<>c__DisplayClass72.<MakeType>b__71
() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Common
\Reflection\Impl\CecilReflectionPolicy.cs:line 710
   at Gallio.Common.KeyedMemoizer`2.Memoize(TKey key, Func`1
populator) in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio
\Common\KeyedMemoizer.cs:line 91
   at Gallio.Common.Reflection.Impl.CecilReflectionPolicy.MakeType
(TypeReference typeHandle) in c:\RelEng\Projects\MbUnit v3.1\Work\src
\Gallio\Gallio\Common\Reflection\Impl\CecilReflectionPolicy.cs:line
672
   at Gallio.Common.Collections.CollectionUtils.ConvertAllToArray
[TInput,TOutput](ICollection input, Converter`2 converter) in c:\RelEng
\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Common\Collections
\CollectionUtils.cs:line 43
   at
Gallio.Common.Reflection.Impl.CecilReflectionPolicy.MakeGenericInstanceType
(GenericInstanceType typeHandle) in c:\RelEng\Projects\MbUnit v3.1\Work
\src\Gallio\Gallio\Common\Reflection\Impl
\CecilReflectionPolicy.cs:line 764
   at
Gallio.Common.Reflection.Impl.CecilReflectionPolicy.<>c__DisplayClass72.<MakeType>b__71
() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Common
\Reflection\Impl\CecilReflectionPolicy.cs:line 695
   at Gallio.Common.KeyedMemoizer`2.Memoize(TKey key, Func`1
populator) in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio
\Common\KeyedMemoizer.cs:line 91
   at Gallio.Common.Reflection.Impl.CecilReflectionPolicy.MakeType
(TypeReference typeHandle) in c:\RelEng\Projects\MbUnit v3.1\Work\src
\Gallio\Gallio\Common\Reflection\Impl\CecilReflectionPolicy.cs:line
672
   at
Gallio.Common.Reflection.Impl.CecilReflectionPolicy.MakeDeclaredType
(TypeReference typeHandle) in c:\RelEng\Projects\MbUnit v3.1\Work\src
\Gallio\Gallio\Common\Reflection\Impl\CecilReflectionPolicy.cs:line
727
   at
Gallio.Common.Reflection.Impl.CecilReflectionPolicy.GetTypeBaseType
(StaticDeclaredTypeWrapper type) in c:\RelEng\Projects\MbUnit v3.1\Work
\src\Gallio\Gallio\Common\Reflection\Impl
\CecilReflectionPolicy.cs:line 609
   at
Gallio.Common.Reflection.Impl.StaticDeclaredTypeWrapper.<get_BaseType>b__3
() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Common
\Reflection\Impl\StaticDeclaredTypeWrapper.cs:line 104
   at Gallio.Common.Memoizer`1.Memoize(Func`1 populator) in c:\RelEng
\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Common\Memoizer.cs:line
67
   at
Gallio.Common.Reflection.Impl.StaticDeclaredTypeWrapper.get_BaseType()
in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Common
\Reflection\Impl\StaticDeclaredTypeWrapper.cs:line 102
   at
Gallio.Common.Reflection.Impl.StaticDeclaredTypeWrapper.get_BaseTypeInternal
() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Common
\Reflection\Impl\StaticDeclaredTypeWrapper.cs:line 113
   at
Gallio.Common.Reflection.Impl.StaticTypeWrapper.<GetInheritedElements>d__19.MoveNext
() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Common
\Reflection\Impl\StaticTypeWrapper.cs:line 444
   at
Gallio.Common.Reflection.Impl.StaticCodeElementWrapper.<GetAttributeInfos>d__1.MoveNext
() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Common
\Reflection\Impl\StaticCodeElementWrapper.cs:line 78
   at
Gallio.Common.Reflection.AttributeUtils.<ResolveAttributes>d__c.MoveNext
() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Common
\Reflection\AttributeUtils.cs:line 127
   at
Gallio.Common.Reflection.AttributeUtils.<GetAttributes>d__0`1.MoveNext
() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Common
\Reflection\AttributeUtils.cs:line 50
   at
Gallio.Framework.Pattern.DeclarativePatternResolver.<GetPatterns>d__0.MoveNext
() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Framework
\Pattern\DeclarativePatternResolver.cs:line 43
   at
Gallio.Framework.Pattern.DefaultPatternEvaluator.GetPrimaryPattern
(ICodeElementInfo codeElement) in c:\RelEng\Projects\MbUnit v3.1\Work
\src\Gallio\Gallio\Framework\Pattern\DefaultPatternEvaluator.cs:line
203
   at Gallio.Framework.Pattern.DefaultPatternEvaluator.Consume
(IPatternScope containingScope, ICodeElementInfo codeElement, Boolean
skipChildren, IPattern defaultPrimaryPattern) in c:\RelEng\Projects
\MbUnit v3.1\Work\src\Gallio\Gallio\Framework\Pattern
\DefaultPatternEvaluator.cs:line 147
============================================================================

I want to emphasize that it does not effect the ability to attach to
the project from Gallio.Icarus or Gallio.Echo, but it does prevent
from running them from within the debugger directly, by debugging the
msbuild.exe process or Gallio.Echo.exe.

--

You received this message because you are subscribed to the Google Groups 
"MbUnit.User" 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/mbunituser?hl=en.


Reply via email to