-
Notifications
You must be signed in to change notification settings - Fork 865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metadata broken with mono and linux #2358
Comments
I am having the same problem with a dotnet core project on linux. docfx v2.30 If I generate the documentation for Is this a general incompatibility with linux+netcoreapp2.0 at the moment? |
Related reference dotnet/roslyn#20848 (comment) |
I uploaded the basic initial project I used to test this: https://github.com/trevex/CueX I also installed the lastest stable mono and dotnet-sdk on OSX and get the same error:
Exporting
EDIT: I am gonna test setting UPDATE: The output on linux is the same also throwing UPDATE: The same docfx.json builds fine on appveyor |
I just used a plain project created with Rider for this. |
Reproed in https://travis-ci.org/docascode/docfx.test, will take a further look into it. |
MSBuild assembly throws this exception when |
|
Root cause identified for |
One workaround is to specifically use System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0., and use app.config to redirect all the assembly references back to |
@vicancy
under macos. i didnt understand the workaround you provided, could you elaborate? where is app.config? |
Hi @jaroslaw-weber The workaround is talking about a code level fix. You might wait until we release a fix. |
Getting "The type initializer for 'Microsoft.Build.Collections.MSBuildNameIgnoreCaseComparer' threw an exception." , using dotnet/docfx#2358 as a tentative workaround.
Getting "The type initializer for 'Microsoft.Build.Collections.MSBuildNameIgnoreCaseComparer' threw an exception." , using dotnet/docfx#2358 as a tentative workaround.
Getting "The type initializer for 'Microsoft.Build.Collections.MSBuildNameIgnoreCaseComparer' threw an exception." , using dotnet/docfx#2358 as a tentative workaround.
DocFX Version Used: Latest release with mono 5.4.1.6
Template used: Default
Steps to Reproduce:
Expected Behavior:
It works.
Actual Behavior:
The text was updated successfully, but these errors were encountered: