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

Consolidate nuspec into csproj #135

Merged
merged 1 commit into from
Nov 29, 2019

Conversation

jnyrup
Copy link
Contributor

@jnyrup jnyrup commented Nov 28, 2019

Most information from nuspec can be specified in the csproj.
This has the benefit that all information is located in a single place and that previously duplicated information can no longer be out of sync.
Currently release notes and package dependencies are out of sync.

I've added the following:

  • Xavier Fischer as Author.
  • Referred MIT license directly instead of throught LICENSE.MD
  • link to github project page
  • link to git repository

csproj does not support the concepts of <owners> and <language> so I've left them out.

The following tags are automatically inferred:

  • <id> from project name
  • requireLicenseAcceptance defaults to false
  • AssemblyVersion is $(Version).0

Some good resources:

This fixes #134

Most information from nuspec can be specified in the csproj.
This has the benefit that all information is located in a single place and that previously duplicated information can no longer be out of sync.
Currently release notes and package dependencies are out of sync.

I've added the following:
* Xavier Fischer as Author.
* Referred MIT license directly instead of throught `LICENSE.MD`
* link to github project page
* link to git repository

csproj does not support the concepts of `<owners>` and `<language>` so I've left them out.

The following tags are automatically inferred:
* `<id>` from project name
* `requireLicenseAcceptance` defaults to `false`
* `AssemblyVersion` is `$(Version).0`

Some good resources:
* https://github.com/NuGet/Home/wiki/Adding-nuget-pack-as-a-msbuild-target
* https://andrewlock.net/version-vs-versionsuffix-vs-packageversion-what-do-they-all-mean/
@xfischer
Copy link
Member

A big thank you @jnyrup ! Very good resources indeed!
OK for me. If it's ok @matt-lethargic you can merge :)

@matt-lethargic matt-lethargic merged commit 957c7f7 into GeoJSON-Net:master Nov 29, 2019
@jnyrup jnyrup deleted the removeNuspec branch November 29, 2019 08:15
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.

Consolidate csproj and nuspec
3 participants