arcusmaximus / YTSubConverter

A tool for creating styled YouTube subtitles
MIT License
767 stars 55 forks source link

Linux: netstandard not found #86

Closed RundownRhino closed 1 year ago

RundownRhino commented 1 year ago

Making an issue to save some time of people repeating my mistakes.

If on trying to launch the linux build using Mono, you get an error like

❯ mono YTSubConverter.exe 

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

the reason is that you don't have NetStandard, one of the runtime dependencies. And the reason for that is that it doesn't come with mono-runtime, but only the development package, which seems to be a known issue. Install the mono-complete package and it should work.