Discordchatexporter: Ubuntu16.04 Linux: Error on invocation since v2.2.1

Created on 18 Jul 2020  路  2Comments  路  Source: Tyrrrz/DiscordChatExporter

Hello!

Until today's update (v2.2.1), I've executed DiscordChatExporter on Linux with:

mono DiscordChatExporter.exe

However, I understand that v2.2.1 is built against .NET Core 3.1. I have installed the appropriate runtime:

$ dotnet --list-runtimes
Microsoft.AspNetCore.App 3.1.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

...however when performing mono DiscordChatExporter.exe I'm met with the following error:

Cannot open assembly 'DiscordChatExporter.exe': File does not contain a valid CIL image.

Have I misunderstand how the application should be invoked? Or is this a runtime issue?

Thanks!

question

All 2 comments

Mono isn't supported since the migration to .NET Core in the 2.16 release.
You should run it with dotnet instead

Mono isn't supported since the migration to .NET Core in the 2.16 release.
You should run it with dotnet instead

Just what I was wondering - so it was an invocation issue! And here I thought they were one and the same.

Executing with dotnet DiscordChatExporter.Cli.dll is working as expected!

Thanks very much :).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chibiusagi picture chibiusagi  路  4Comments

makeworld-the-better-one picture makeworld-the-better-one  路  3Comments

penguinsoba picture penguinsoba  路  3Comments

ealgase picture ealgase  路  4Comments

roger125 picture roger125  路  4Comments