Skip to content
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

Can't run on Linux/mono without mono-devel package #5082

Closed
roji opened this issue Sep 9, 2019 · 0 comments
Closed

Can't run on Linux/mono without mono-devel package #5082

roji opened this issue Sep 9, 2019 · 0 comments
Labels
documentation Improvements or additions to documentation and the project website fundamental: xplat Cross-platform support

Comments

@roji
Copy link
Member

roji commented Sep 9, 2019

After installing docfx 2.45 on Ubuntu disco with mono 6.0.0.327, trying to run docfx fails with:

System.TypeLoadException: Could not load type of field 'Microsoft.DocAsCode.SubCommands.CommandController:<_allCommands>k__BackingField' (0) due to: Could not load file or assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. assembly:System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:<unknown type> member:(null) signature:<none>
  at Microsoft.DocAsCode.Program.ExecSubCommand (System.String[] args) [0x0003e] in <e0347d080161439aa168ce29a28dd6c7>:0 

After installing mono-devel, the error goes away. It's probably worth documenting this.

See #718 (comment) where this was also described.

@superyyrrzz superyyrrzz added fundamental: xplat Cross-platform support documentation Improvements or additions to documentation and the project website enhancement labels Sep 10, 2019
perlun added a commit to perlun/docfx that referenced this issue Sep 22, 2020
The primary aim here is to ensure that `mono-devel` is mentioned, since it's not enough in this case to just have the runtime package installed.

Closes dotnet#5082.
@yufeih yufeih closed this as completed Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation and the project website fundamental: xplat Cross-platform support
Projects
None yet
Development

No branches or pull requests

3 participants