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

disable warning for NU1900 #42

Merged
merged 1 commit into from
Dec 22, 2023
Merged

disable warning for NU1900 #42

merged 1 commit into from
Dec 22, 2023

Conversation

sfairat15
Copy link
Contributor

@sfairat15 sfairat15 commented Dec 22, 2023

Fix(?) for linux/arm64:

#17 [linux/arm64 builder 4/7] RUN dotnet restore ./mysql-data-mover.sln --arch arm64 --packages /packages/arm64
#17 102.9 /src/Dodo.DataMover.Tests/Dodo.DataMover.Tests.csproj : error NU1900: Warning As Error: Error occurred while getting package vulnerability data: Unable to cast object of type 'System.Net.Http.HttpRequestMessage' to type 'System.Text.Json.Serialization.Metadata.JsonPropertyInfo'. [/mysql-data-mover.sln]
#17 102.9 /src/Dodo.DataMover/Dodo.DataMover.csproj : error NU1900: Warning As Error: Error occurred while getting package vulnerability data: Unable to cast object of type 'System.Net.Http.HttpRequestMessage' to type 'System.Text.Json.Serialization.Metadata.JsonPropertyInfo'. [/mysql-data-mover.sln]
#17 106.1   Failed to restore /src/Dodo.DataMover.Tests/Dodo.DataMover.Tests.csproj (in 1.23 min).
#17 106.1   Failed to restore /src/Dodo.DataMover/Dodo.DataMover.csproj (in 1.23 min).
#17 ERROR: process "/bin/sh -c dotnet restore ${SOLUTION_NAME} --arch ${TARGETARCH} --packages /packages/${TARGETARCH}" did not complete successfully: exit code: 1

https://learn.microsoft.com/ru-ru/nuget/reference/errors-and-warnings/nu1900

https://learn.microsoft.com/en-us/nuget/concepts/auditing-packages#warning-codes

@sfairat15 sfairat15 merged commit 9784b30 into master Dec 22, 2023
1 check passed
@sfairat15 sfairat15 deleted the sre-fix-release-workflow-3 branch December 22, 2023 07:13
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