You are here

Running WebGrab++ with .Net Core runtime instead of Mono

4 posts / 0 new
Last post
awiouy
Offline
Joined: 8 months
Last seen: 8 months
Running WebGrab++ with .Net Core runtime instead of Mono

Hello,

Would it be possible to run WebGrab++ with .Net Core runtime instead of Mono under Linux?

I have managed to WebGrab++ 2.1.5 with .Net Core runtime 2.1.0, by creating the following WebGrab+Plus.runtimeconfig.json file:

{
"runtimeOptions": {
"tfm": "netcoreapp2.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "2.0.0"
},
"configProperties": {
"System.Globalization.Invariant": true
}
}
}

WebGrab++ however fails do download files, with the following message:

Could not load type 'System.Net.Configuration.SettingsSection' from assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Any idea of how to fix this?

Thank you for your work, thank you for your help.
Anton Voyl

awiouy
Offline
Joined: 8 months
Last seen: 8 months

The .dll files are in the same directory as the .exe
Should I set a path, via a variable?

awiouy
Offline
Joined: 8 months
Last seen: 8 months

I do the same with Mono, and it runs fine.
But now I try to run with .Net Core (dotnet), which is leaner and faster than Mono

awiouy
Offline
Joined: 8 months
Last seen: 8 months

My gain would lie in maintenance and build time (I maintain Mono for LibreELEC, which is not easy), and also in storage space (.Net Core takes a fourth of the space of Mono, due to the way that addons are packaged).

I would welcome a release of WebGrab+Plus for .Net Core runtime.
However, I have no idea what this entails.

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl