Rank: Newbie
Groups: Registered
Joined: 12/4/2016(UTC) Posts: 3 Location: Poland
|
fehaar;6820 wrote:I am getting an exception when building my project. The error is posted below. The behavior is a regression from version 2.11.0.12 where everything works fine.
What further info can I give you to locate the error? Do you need the DLL and/or PDB?
Gallio.Model.ModelException: An exception occurred while invoking a test driver. ---> Microsoft.Cci.Pdb.PdbDebugException: Unknown custom metadata item kind: 6 at Microsoft.Cci.Pdb.PdbFunction.ReadCustomMetadata(BitAccess bits) at Microsoft.Cci.Pdb.PdbFunction..ctor(ManProcSym proc, BitAccess bits) at Microsoft.Cci.Pdb.PdbFunction.LoadManagedFunctions(BitAccess bits, UInt32 limit, Boolean readStrings) at Microsoft.Cci.Pdb.PdbFile.LoadFuncsFromDbiModule(BitAccess bits, DbiModuleInfo info, IntHashTable names, ArrayList funcList, Boolean readStrings, MsfDirectory dir, Dictionary`2 nameIndex, PdbReader reader) at Microsoft.Cci.Pdb.PdbFile.LoadFunctions(Stream read, BitAccess bits, Boolean readAllStrings) at Microsoft.Cci.Pdb.PdbFile.LoadFunctions(Stream read, Boolean readAllStrings) at Microsoft.Cci.PdbReader..ctor(Stream pdbStream, IMetadataHost host) at Gallio.Common.Reflection.Impl.CciModuleCache.FeedMap() at Gallio.Common.Reflection.Impl.CciModuleCache..ctor(IFileSystem fileSystem, String assemblyPath) at Gallio.Common.Reflection.Impl.CciDebugSymbolResolver.GetSourceLocationForMethod(String assemblyPath, Int32 methodToken) at Gallio.Common.Reflection.Impl.CecilReflectionPolicy.GetMethodSourceLocation(MethodDefinition methodDefinition) at Gallio.Common.Reflection.Impl.CecilReflectionPolicy.GuessTypeSourceLocation(TypeDefinition typeDefinition) at Gallio.Common.Reflection.Impl.CecilReflectionPolicy.GetMemberSourceLocation(StaticMemberWrapper member) at Gallio.Common.Reflection.Impl.StaticMemberWrapper.<GetCodeLocation>b__15() at Gallio.Common.Memoizer`1.Memoize(Func`1 populator) at Gallio.Common.Reflection.Impl.StaticMemberWrapper.GetCodeLocation() at Gallio.Model.Schema.TestComponentData..ctor(TestComponent source) at Gallio.Model.Schema.TestData..ctor(Test source, Boolean nonRecursive) at Gallio.Model.Messages.TestModelSerializer.PublishTestModel(TestModel testModel, IMessageSink messageSink) at Gallio.Model.Helpers.SimpleTestDriver.GenerateTestModel(IReflectionPolicy reflectionPolicy, IEnumerable`1 codeElements, IMessageSink messageSink) at Gallio.Model.Helpers.SimpleTestDriver.DescribeImpl(IReflectionPolicy reflectionPolicy, IList`1 codeElements, TestExplorationOptions testExplorationOptions, IMessageSink messageSink, IProgressMonitor progressMonitor) at Gallio.Model.BaseTestDriver.Describe(IReflectionPolicy reflectionPolicy, IList`1 codeElements, TestExplorationOptions testExplorationOptions, IMessageSink messageSink, IProgressMonitor progressMonitor) at Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.<>c__DisplayClass17.<DescribeImpl>b__15(ITestDriver driver, IList`1 items, Int32 driverCount) at Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.ForEachDriver[T](MultiMap`2 testFrameworkPartitions, Func`4 func) --- End of inner exception stack trace --- at Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.ForEachDriver[T](MultiMap`2 testFrameworkPartitions, Func`4 func) at Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.DescribeImpl(IReflectionPolicy reflectionPolicy, IList`1 codeElements, TestExplorationOptions testExplorationOptions, IMessageSink messageSink, IProgressMonitor progressMonitor) at Gallio.Model.BaseTestDriver.Describe(IReflectionPolicy reflectionPolicy, IList`1 codeElements, TestExplorationOptions testExplorationOptions, IMessageSink messageSink, IProgressMonitor progressMonitor) at nCrunch.Module.Gallio.Integration.GallioWrapper.FindFrameworkTestsInAssembly(ReflectedAssembly assembly, FilePath assemblyFilePath, IList`1 referencedAssemblyFilePaths) at nCrunch.Module.Gallio.Integration.GallioTestFramework.FindFrameworkTestsInAssembly(ReflectedAssembly assembly, FilePath assemblyFilePath, IList`1 referencedAssemblyFilePaths, ComponentUniqueName testComponentUniqueName) at nCrunch.TestExecution.TestFinder.FindTestsForFrameworks(ReflectedAssembly assembly, FilePath assemblyFilePath, IList`1 referencedAssemblyFilePaths, TestFrameworkDescription[] frameworks, ComponentUniqueName testComponentUniqueName) at nCrunch.Compiler.StaticManipulation.BuiltAssembly.DiscoverTests(TestFrameworkDescription[] applicableTestFrameworks, ComponentUniqueName testComponentUniqueName) at nCrunch.Compiler.RemoteBuildRunner.(ComponentBuildParameters , FilePath , BuildOutput , DirectoryPath[] , FilePath[] ) at nCrunch.Compiler.RemoteBuildRunner.Build(ComponentBuildParameters parameters)
Hi Guys, We have the same problem in our project (mbUnit) with gallio exception on VS2015. - Gallio.Model.ModelException: An exception occurred while invoking a test driver. ---> Microsoft.Cci.Pdb.PdbDebugException: We really would like to move from VS2013 to VS2015, but right now its not possible due to this exception:/ Seems that you solve the issue, right ? Can you guide us how to fix it ? Thanks,
|