Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target .NET Framework 4.7.2 and fix missing binaries in Windows installers #283

Merged
merged 2 commits into from
Feb 10, 2021

Conversation

mjcheetham
Copy link
Collaborator

@mjcheetham mjcheetham commented Feb 9, 2021

When we added support for System.CommandLine I neglected to add the extra binaries it brings to the party in the Windows installers. D'oh!

Given the System.CommandLine is a .NET Standard targeting library, and we're currently targeting .NET Framework 4.6.1 on Windows, this brings in a lot of compatibility and shim/type forwarding binaries (since net461 doesn't perfectly implement netstandard2.0.. go figure). We've asked for them to consider targeting a downlevel net461 TFM, but in reality we can also just as easily increase our TFM to net472, which doesn't require any of those shim binaries.

.NET Framework 4.7.2 is supported on Windows versions all the way back to Windows 7 SP1, so we won't be removing any users from the support matrix. Git for Windows supports Vista, but since GCM Core is already targeting net461, it doesn't run on Vista today(!) Vista only supports 4.6(.0) as the latest Framework version.

We could also drop the System.CommandLine usage, but I'd rather not. It's worth it IMO.

@mjcheetham mjcheetham added bug A bug in Git Credential Manager platform:windows Specific to the Windows platform labels Feb 9, 2021
Copy link

@jeffhostetler jeffhostetler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a rubber stamp.

@mjcheetham mjcheetham merged commit 307e936 into git-ecosystem:master Feb 10, 2021
@mjcheetham mjcheetham deleted the net472 branch February 10, 2021 14:26
@mjcheetham mjcheetham mentioned this pull request Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in Git Credential Manager platform:windows Specific to the Windows platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants