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

NU1900: Warning As Error: Error occurred while getting package vulnerability data #226

Open
EvoTechMike opened this issue Sep 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@EvoTechMike
Copy link

EvoTechMike commented Sep 26, 2024

Service

OpenAI

Describe the bug

When trying to do dotnet restore inside docker package targeting arm64 the openai project generates this warning:

NU1900: Warning As Error: Error occurred while getting package vulnerability data: Object reference not set to an instance of an object.

As warnings as errors are set in csproj it breaks my build pipeline.

Could you add NU1900 to the nowarn list in .csproj please?

Steps to reproduce

create docker file that attempts to do a dotnet restore on the csproj file and try to build for arm64 platform.

Code snippets

No response

OS

Ubuntu 22.04 Arm64

.NET version

8

Library version

main branch

@EvoTechMike EvoTechMike added the bug Something isn't working label Sep 26, 2024
@joseharriaga
Copy link
Collaborator

Thank you for reaching out, @EvoTechMike ! What does your nuget.config file look like? Are you restoring the NuGet package from nuget.org?

@joseharriaga joseharriaga self-assigned this Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants