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

Must use PackageReference #10410

Closed
cscuser opened this issue Dec 23, 2020 · 3 comments
Closed

Must use PackageReference #10410

cscuser opened this issue Dec 23, 2020 · 3 comments
Labels
Resolution:External This issue appears to be External to nuget WaitingForCustomer Applied when a NuGet triage person needs more info from the OP

Comments

@cscuser
Copy link

cscuser commented Dec 23, 2020

packages\Microsoft.Windows.SDK.Contracts.10.0.17763.1000\build\Microsoft.Windows.SDK.Contracts.targets(4,5): error : Must use PackageReference

when i install Microsoft.Identity.Client library using Nuget Manager I got "Must use PackageReference" error in .Net MVC Project.

@zivkan
Copy link
Member

zivkan commented Dec 23, 2020

The error is coming from the package, not from NuGet (see the path to the targets file, as reported by MSBuild).

Looking at the package on nuget.org: https://www.nuget.org/packages/Microsoft.Windows.SDK.Contracts/
it says this:

Requires default package management format set to PackageReference, and NuGet 4.0 or higher.

You can contact the package owner on nuget.org, on the right side under the "Info" block, there's a link "Contact owners".

There's nothing the NuGet team can do about package authors generating errors in their MSBuild files.

@zivkan zivkan added Resolution:External This issue appears to be External to nuget WaitingForCustomer Applied when a NuGet triage person needs more info from the OP labels Dec 23, 2020
@ronaldbarendse
Copy link

@zivkan This is indeed related to: AzureAD/microsoft-authentication-library-for-dotnet#2247

@zkat
Copy link
Contributor

zkat commented Jan 7, 2021

This is not a NuGet issue, as @zivkan says.

@zkat zkat closed this as completed Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution:External This issue appears to be External to nuget WaitingForCustomer Applied when a NuGet triage person needs more info from the OP
Projects
None yet
Development

No branches or pull requests

4 participants