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

Suppress NuGet licenseUrl deprecation warning #481

Merged
merged 1 commit into from
Apr 3, 2019

Conversation

stakx
Copy link
Member

@stakx stakx commented Mar 31, 2019

I can no longer get Windsor to build due to that pesky NuGet "The licenseUrl element will be deprecated" warning combined with Windsor's use of <TreatWarningsAsErrors>.

This adds a suppression for that warning as per castleproject/NVelocity#14 (comment).

(Regarding the duplication in this PR, I refrained from putting the suppression in a common.props like Core has got, or even in a default MSBuild Directory.Build.props. Reorganizing the build is probably best left to another dedicated PR.)

Doing what the warning says and replacing `licenseUrl` with `license`
will result in a broken NuGet package as not all tools are ready yet
for the new `license` element. Let's wait a little and suppress this
warning in the meantime.

References:
 * NuGet/Home#7509
 * NuGet/Home#7547
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.

2 participants