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 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
Makes it handle being run when the project is not in a git repo.
@bording
Copy link
Member Author

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

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

@ethomson
Copy link
Member

LGTM. Thanks!

@ethomson ethomson merged commit 53900ea into master Nov 24, 2017
@bording bording deleted the cleanup branch November 24, 2017 16:05
alex-weaver pushed a commit to alex-weaver/libgit2sharp that referenced this pull request Mar 23, 2023
Remove the net40 target and other misc cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants