Comments (3)
Thanks for reporting the issue. Will add a DNX one...
from docfx-seed.
Seems to have just run into this with .NET Core 1.1.0 on Ubuntu yakkety, trying to generate API documentation from a csproj:
Warning: Error opening project /home/roji/projects/doc/Npgsql/src/Npgsql/Npgsql.csproj: The classes in the module cannot be loaded.. Ignored.
Warning: Cache for /home/roji/projects/doc/Npgsql/src/Npgsql/Npgsql.csproj in /home/roji/projects/doc/Npgsql/src/Npgsql/obj/xdoc/cache/final/-2009267585 is corrupted
Warning: No metadata is generated for .
Error: 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 <8f2c484307284b51944a1a13a14c0266>:0
at System.Reflection.Assembly+<>c__Iterator0.MoveNext () [0x00021] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00078] in <63992662b765477a898ef49cdcc99ee2>:0
at System.Linq.Enumerable+<SelectManyIterator>c__Iterator2`2[TSource,TResult].MoveNext () [0x000bc] in <63992662b765477a898ef49cdcc99ee2>:0
at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor (System.Collections.Generic.IEnumerable`1[T] types, System.Composition.Convention.AttributedModelProvider attributeContext) [0x00049] in <c091afde214c4b8e8efbbeb9d44062d4>:0
at System.Composition.Hosting.ContainerConfiguration.CreateContainer () [0x00042] in <c091afde214c4b8e8efbbeb9d44062d4>:0
at Microsoft.DocAsCode.Dfm.DfmEngineBuilder.GetContainer () [0x0005c] in <432999781422437b9586e927afbcea01>:0
at Microsoft.DocAsCode.Dfm.DfmEngineBuilder..ctor (Microsoft.DocAsCode.MarkdownLite.Options options, System.String baseDir, System.String templateDir, System.Collections.Generic.IReadOnlyList`1[T] fallbackFolders) [0x001fa] in <432999781422437b9586e927afbcea01>:0
at Microsoft.DocAsCode.Dfm.DocfxFlavoredMarked.CreateBuilder (System.String baseDir, System.String templateDir, Microsoft.DocAsCode.MarkdownLite.Options options, System.Collections.Generic.IReadOnlyList`1[T] fallbackFolders) [0x0000a] in <432999781422437b9586e927afbcea01>:0
at Microsoft.DocAsCode.Build.Engine.DfmServiceProvider+DfmService..ctor (System.String baseDir, System.String templateDir, System.Collections.Immutable.ImmutableDictionary`2[TKey,TValue] tokens, Microsoft.DocAsCode.MarkdownLite.IMarkdownTokenTreeValidator tokenTreeValidator, System.Collections.Generic.IReadOnlyList`1[T] fallbackFolders) [0x00013] in <df39d17f74914acca8adf19af1426be3>:0
at Microsoft.DocAsCode.Build.Engine.DfmServiceProvider.CreateMarkdownService (Microsoft.DocAsCode.Plugins.MarkdownServiceParameters parameters) [0x00051] in <df39d17f74914acca8adf19af1426be3>:0
at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.CreateMarkdownService (Microsoft.DocAsCode.Build.Engine.DocumentBuildParameters parameters, System.Collections.Immutable.ImmutableDictionary`2[TKey,TValue] tokens) [0x0009e] in <df39d17f74914acca8adf19af1426be3>:0
at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.BuildCore (Microsoft.DocAsCode.Build.Engine.DocumentBuildParameters parameters) [0x001a1] in <df39d17f74914acca8adf19af1426be3>:0
at Microsoft.DocAsCode.Build.Engine.SingleDocumentBuilder.Build (Microsoft.DocAsCode.Build.Engine.DocumentBuildParameters parameters) [0x00065] in <df39d17f74914acca8adf19af1426be3>:0
at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.BuildCore (Microsoft.DocAsCode.Build.Engine.DocumentBuildParameters parameter) [0x0005f] in <df39d17f74914acca8adf19af1426be3>:0
at Microsoft.DocAsCode.Build.Engine.DocumentBuilder.Build (System.Collections.Generic.IEnumerable`1[T] parameters, System.String outputDirectory) [0x0008b] in <df39d17f74914acca8adf19af1426be3>:0
at Microsoft.DocAsCode.SubCommands.DocumentBuilderWrapper.BuildDocument (Microsoft.DocAsCode.BuildJsonConfig config, Microsoft.DocAsCode.Build.Engine.TemplateManager templateManager, System.String baseDirectory, System.String outputDirectory, System.String pluginDirectory, System.String templateDirectory) [0x000ff] in <48838e8ef2d14e4c851eaef79963d089>:0
at Microsoft.DocAsCode.SubCommands.BuildCommand.BuildDocument (System.String baseDirectory, System.String outputDirectory) [0x000a0] in <48838e8ef2d14e4c851eaef79963d089>:0
at Microsoft.DocAsCode.SubCommands.BuildCommand.Exec (Microsoft.DocAsCode.Plugins.SubCommandRunningContext context) [0x00051] in <48838e8ef2d14e4c851eaef79963d089>:0
at Microsoft.DocAsCode.SubCommands.CompositeCommand.Exec (Microsoft.DocAsCode.Plugins.SubCommandRunningContext context) [0x00014] in <48838e8ef2d14e4c851eaef79963d089>:0
at Microsoft.DocAsCode.Program.ExecSubCommand (System.String[] args) [0x000e0] in <48838e8ef2d14e4c851eaef79963d089>:0
3 Warning(s)
1 Error(s)
from docfx-seed.
Hi @roji, which version of docfx
are you using? Did it work before?
csproj
has a dependency on Microsoft Build Tools 2015, as docfx
uses Roslyn
while Roslyn
depends on Build Tools. project.json
can work around such issue.
from docfx-seed.
Related Issues (19)
- changed favicon.ico does not show in site HOT 2
- Neither 'list' nor export is found HOT 1
- Illegal characters in path HOT 5
- Hosting integration
- API Documentation Doesn't Build HOT 3
- Test webhook HOT 4
- Current build is broken HOT 2
- Word wrap needed on side bar titles HOT 1
- Overwrite for REST API doesn't work with markdown engine 'markdig' HOT 1
- Broken Link out of the box HOT 1
- Documentation in src\DotnetNew\class1.cs is not taken into account
- How to set docfx.json file and connect with swagger.json on live server HOT 2
- Release 2.52 does not generate C# API reference on Mac HOT 1
- Access token
- Fails to build on linux HOT 2
- Not able to apply statictoc Template to the documentation
- The docfx.zip link is not correct HOT 1
- No License File HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docfx-seed.