Skip to content

Instantly share code, notes, and snippets.

@shirhatti
Created December 9, 2015 19:44
Show Gist options
  • Save shirhatti/83e42592175d93201d4d to your computer and use it in GitHub Desktop.
Save shirhatti/83e42592175d93201d4d to your computer and use it in GitHub Desktop.
Docfx stack trace on Ubuntu 14.04 and Mono 4.0.5
Error: Error running program: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0
at System.Reflection.Assembly+<>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[System.Reflection.TypeInfo,System.Type].MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator12`2[System.Reflection.Assembly,System.Type].MoveNext () [0x00000] in <filename unknown>:0
at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor (IEnumerable`1 types, System.Composition.Convention.AttributedModelProvider attributeContext) [0x00000] in <filename unknown>:0
at System.Composition.Hosting.ContainerConfiguration.CreateContainer () [0x00000] in <filename unknown>:0
at Microsoft.CodeAnalysis.Host.Mef.MefHostServices.Create (IEnumerable`1 assemblies) [0x00000] in <filename unknown>:0
at Microsoft.CodeAnalysis.Host.Mef.DesktopMefHostServices.get_DefaultServices () [0x00000] in <filename unknown>:0
at Microsoft.CodeAnalysis.MSBuild.MSBuildWorkspace.Create (IDictionary`2 properties) [0x00000] in <filename unknown>:0
at Microsoft.CodeAnalysis.MSBuild.MSBuildWorkspace.Create () [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.EntityModel.ExtractMetadataWorker..ctor (Microsoft.DocAsCode.EntityModel.ExtractMetadataInputModel input, Boolean rebuild) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.MetadataCommand+<YieldExec>d__13.MoveNext () [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.CompositeCommand.AggregateParseResult (IEnumerable`1 results) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.MetadataCommand.InternalExec (Microsoft.DocAsCode.RunningContext context) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.MetadataCommand.Exec (Microsoft.DocAsCode.RunningContext context) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.CompositeCommand+<YieldRun>d__5.MoveNext () [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.CompositeCommand.AggregateParseResult (IEnumerable`1 results) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.CompositeCommand.Exec (Microsoft.DocAsCode.RunningContext context) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.Program.Exec (Microsoft.DocAsCode.Options options, Microsoft.DocAsCode.RunningContext context) [0x00000] in <filename unknown>:0
Error:
Build failed.
Error: Error running program: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0
at System.Reflection.Assembly+<>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[System.Reflection.TypeInfo,System.Type].MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator12`2[System.Reflection.Assembly,System.Type].MoveNext () [0x00000] in <filename unknown>:0
at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor (IEnumerable`1 types, System.Composition.Convention.AttributedModelProvider attributeContext) [0x00000] in <filename unknown>:0
at System.Composition.Hosting.ContainerConfiguration.CreateContainer () [0x00000] in <filename unknown>:0
at Microsoft.CodeAnalysis.Host.Mef.MefHostServices.Create (IEnumerable`1 assemblies) [0x00000] in <filename unknown>:0
at Microsoft.CodeAnalysis.Host.Mef.DesktopMefHostServices.get_DefaultServices () [0x00000] in <filename unknown>:0
at Microsoft.CodeAnalysis.MSBuild.MSBuildWorkspace.Create (IDictionary`2 properties) [0x00000] in <filename unknown>:0
at Microsoft.CodeAnalysis.MSBuild.MSBuildWorkspace.Create () [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.EntityModel.ExtractMetadataWorker..ctor (Microsoft.DocAsCode.EntityModel.ExtractMetadataInputModel input, Boolean rebuild) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.MetadataCommand+<YieldExec>d__13.MoveNext () [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.CompositeCommand.AggregateParseResult (IEnumerable`1 results) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.MetadataCommand.InternalExec (Microsoft.DocAsCode.RunningContext context) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.MetadataCommand.Exec (Microsoft.DocAsCode.RunningContext context) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.CompositeCommand+<YieldRun>d__5.MoveNext () [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.CompositeCommand.AggregateParseResult (IEnumerable`1 results) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.CompositeCommand.Exec (Microsoft.DocAsCode.RunningContext context) [0x00000] in <filename unknown>:0
at Microsoft.DocAsCode.Program.Exec (Microsoft.DocAsCode.Options options, Microsoft.DocAsCode.RunningContext context) [0x00000] in <filename unknown>:0
Error:
There are totally 0 Warning(s), 1 Error(s) in phase Build Completed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment