akorb / SteamShutdown

Automatic shutdown after Steam download(s) has finished.
MIT License
362 stars 28 forks source link

Remove ILMerge #37

Closed akorb closed 2 years ago

akorb commented 3 years ago

ILMerge is deprecated. So an alternative solution has to be found.

Like another program which does the same, or using a JSON decoder natively contained in .NET that SteamShutdown does not require Newtonsoft.JSON anymore. That might require to update to .NET Core maybe. This would require to check if SteamShutdown is still as easy to download and execute as before upgrading to .NET Core.

akorb commented 3 years ago

Possible alternative (open-source) https://github.com/gluck/il-repack

akorb commented 2 years ago

I just tried to replace Newtonsoft.JSON with the built-in JSON converter of .NET System.Text.Json. While it's possible, together with .NET 4.x it requires some NuGet packages to be installed, which results into some dlls required besides the exe file. This goes against the goal of this program to be a single executable working out of the box. This could be circumvented by using .NET 5, but this is not pre-installed yet on Windows 10. So, for the time being, I'll stick to Newtonsoft.Json.