christianspecht / scm-backup

Makes offline backups of your cloud hosted source code repositories
https://scm-backup.org/
GNU General Public License v3.0
58 stars 20 forks source link

Upgrade to .NET Core 3.1 when it's released #37

Closed christianspecht closed 4 years ago

christianspecht commented 4 years ago

3.0 doesn't make sense anymore because 3.1 will be LTS and it's supposed to be released in December

https://dotnet.microsoft.com/download/dotnet-core/3.1

christianspecht commented 4 years ago

... and maybe compile to one single .exe including .NET Core?

If .NET Core is not compiled into the .exe, even updating from .NET Core x.y to x.y+1 would be a breaking change because users would have to install the new .NET Core version.

nzbart commented 4 years ago

Now that 3.1 has been released, this would be a handy improvement. I'm running under Linux with the Snap package, which currently deploys only version 3.1.

I note that in your docs you mention:

You need at least version 2.1 of the .NET Core runtime.

However, it appears that under .NET Core, the exact version is required. I get this error message:

It was not possible to find any compatible framework version The framework 'Microsoft.NETCore.App', version '2.1.0' was not found. - The following frameworks were found: 3.1.0 at [/snap/dotnet-sdk/57/shared/Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:

nzbart commented 4 years ago

An update on the above comment: I've recompiled from source under .NET Core 3.1 running on Debian Linux, and it appears to be working well.