You are here

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

5 posts / 0 new
Last post
awiouy
Offline
Joined: 5 years
Last seen: 5 years
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: 5 years
Last seen: 5 years

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

awiouy
Offline
Joined: 5 years
Last seen: 5 years

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: 5 years
Last seen: 5 years

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.

sven.luebke
Offline
Joined: 3 years
Last seen: 3 years

Hi all!

I tried to get WebGrab++ 2.x working with ".NET Core" on Linux and I got the same error. Looking at

https://docs.microsoft.com/en-us/dotnet/api/system.net.configuration.set...

and switching through the "Version" drop down menu on the left side, you'll see, that there is no such type defined for ".NET Core" which runs on Linux. It's available only in ".NET Framework" 2.0-4.8 .

BUT I updated to the latest .NET Core 3.1.4 and downloaded the Linux version of WebGrabPlus3.0 (BETA) and in this combination WebGrabPlus+ is working again (tested on LibreELEC).

Have fun!

Best regards,
Sven

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