The Wayback Machine - https://web.archive.org/web/20201202074526/https://github.com/libgit2/libgit2sharp/pull/1511
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

Remove the net40 target and other misc cleanup #1511

Merged
merged 11 commits into from Nov 24, 2017
Merged

Remove the net40 target and other misc cleanup #1511

merged 11 commits into from Nov 24, 2017

Conversation

@bording
Copy link
Member

@bording bording commented Nov 19, 2017

This PR includes the following changes;

The net40 target has been removed from LibGit2Sharp, so we are now targeting .NET Standard 2.0 only. This means that our minimum supported version of the .NET Framework is now 4.6.1.

The test project is still targeting both net461 and netcoreapp2.0 so that we can test on both platforms.

Dependencies have been updated (this supersedes #1509), and I've moved the Nerdbank.GitVersioning reference into the main project file to make it easier to update properly with the NuGet tooling.

With the new version of xunit, there were a ton of warnings in the tests, so I cleaned up all of those as well.

As of the 2.0.2 .NET Core SDK that is installed with VS 2017 15.4, there's a simpler way to include PDBs in the package, so I've switched to that.

I've also updated to the version of the native binaries package that includes my changes from libgit2/libgit2sharp.nativebinaries#56.

The build/CI scripts still need some cleaning up, but I'll handle that in another PR.

@bording
Copy link
Member Author

@bording bording commented Nov 19, 2017

@ethomson Once this is merged, I think we should put out another 0.25.0 preview package.

@bording bording mentioned this pull request Nov 19, 2017
@bording bording force-pushed the cleanup branch from 8a3a6ef to f16b9c6 Nov 19, 2017
@Zoxive
Zoxive approved these changes Nov 19, 2017
Makes it handle being run when the project is not in a git repo.
@bording
Copy link
Member Author

@bording bording commented Nov 21, 2017

One more change to make the GenerateAssemblyCommitIdsCs target handle when the project is being built from outside of a git repo, which should address #1512.

@ethomson
Copy link
Member

@ethomson ethomson commented Nov 21, 2017

Appreciate you setting it up so that you could build from a release tarball/zipball.

@ethomson
Copy link
Member

@ethomson ethomson commented Nov 24, 2017

LGTM. Thanks!

@ethomson ethomson merged commit 53900ea into master Nov 24, 2017
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@bording bording deleted the cleanup branch Nov 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.