Skip to content

Disable nuget warning NU 1505 until https://github.com/dotnet/sdk/issues/24747 is fixed. #7024

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

Merged
merged 1 commit into from
Apr 16, 2022

Conversation

Tanya-Solyanik
Copy link
Member

@Tanya-Solyanik Tanya-Solyanik commented Apr 15, 2022

Error window in Visual Studio displays the following

Warning	NU1505	Duplicate 'PackageDownload' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PackageDownload' items are: 

Microsoft.NETCore.App.Host.win-x64 [7.0.0-preview.4.22214.7], 
Microsoft.NETCore.App.Host.win-x64 [7.0.0-preview.4.22214.7],
Microsoft.NETCore.App.Host.win-x64 [7.0.0-preview.4.22214.7],
Microsoft.NETCore.App.Host.win-x64 [7.0.0-preview.4.22214.7].

AccessibilityTests	D:\winforms\src\System.Windows.Forms\tests\AccessibilityTests\AccessibilityTests.csproj

The warning is supposed to report downloads of the same package with different versions - https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu1505

Microsoft Reviewers: Open in CodeFlow

@Tanya-Solyanik Tanya-Solyanik requested a review from a team as a code owner April 15, 2022 23:36
@ghost ghost assigned Tanya-Solyanik Apr 15, 2022
Copy link
Member

@Shyam-Gupta Shyam-Gupta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@Tanya-Solyanik Tanya-Solyanik merged commit 72da286 into dotnet:main Apr 16, 2022
@ghost ghost added this to the 7.0 Preview4 milestone Apr 16, 2022
@Tanya-Solyanik Tanya-Solyanik deleted the nu-1505 branch April 16, 2022 00:31
@ghost ghost locked as resolved and limited conversation to collaborators May 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants