-
Notifications
You must be signed in to change notification settings - Fork 252
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
An unexpected warning “NU1505: Duplicate 'PackageDownload' items found” occurs after build tools restoring #11720
Comments
I think this is ok and by design. This was added in #9864. We should file this issue in the SDK repo. I'll do that and close out this issue. |
@v-luzh Can you please post the csproj content in dotnet/sdk#24747? |
Thanks for posting the repro in the issue @v-crchang |
I could've hit this too but fortunately for us, we use a private build of
Not a good reason and a huge NO. If this is a CPS limitation, then CPS should figure out how to say uniqueness for a particular MSBuild item type. For Example, I know that the team recently added multiple versions in People who are a bit advanced might complain, Why are there two ways to include versions? Just like they are complaining with the But what I'm waiting for is #7709 and #8476 to work. If that does work, then all those ramblings above would be nullified in sheer bliss that I would get removing huge chunk of code that implements custom |
NuGet Product Used
Other/NA
Product Version
BuildTools vsix\6.3.0.10
Worked before?
Dev\6.2.0.120
Impact
It bothers me. A fix would be nice
Repro Steps & Context
Repro steps:
Expected:
The restore build succeed without any warning.
Actual:
The warning “warning NU1505: Duplicate 'PackageDownload' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior.” occurs as below screenshot.
Note:
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: