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

.NET 9 support #575

Open
Nefcanto opened this issue Nov 29, 2024 · 0 comments
Open

.NET 9 support #575

Nefcanto opened this issue Nov 29, 2024 · 0 comments

Comments

@Nefcanto
Copy link

Bogus NuGet Package

35.6.1

.NET Version

.NET 9

Visual Studio Version

No response

What operating system are you using?

Linux

What locale are you using with Bogus?

en_GB

Problem Description

I want to install Bogus in a .NET 9 project, and I get errors.

LINQPad Example or Reproduction Steps

1- dotnet new console
2- dotnet add pacakge Bogus

You should see this error:

info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/share/dotnet/sdk/9.0.100-rc.2.24474.11/trustedroots/codesignctl.pem'.
info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/share/dotnet/sdk/9.0.100-rc.2.24474.11/trustedroots/timestampctl.pem'.
info : Adding PackageReference for package 'Bogus' into project '/Temp/Temp2/Temp2.csproj'.
info :   CACHE https://api.nuget.org/v3/registration5-gz-semver2/bogus/index.json
info :   CACHE https://api.nuget.org/v3/registration5-gz-semver2/bogus/page/2.1.4/18.0.1.json
warn : An invalid cache entry was found for URL 'https://api.nuget.org/v3/registration5-gz-semver2/bogus/page/2.1.4/18.0.1.json' and will be replaced.
warn : '' is not a valid version string.
info :   GET https://api.nuget.org/v3/registration5-gz-semver2/bogus/page/2.1.4/18.0.1.json
info :   OK https://api.nuget.org/v3/registration5-gz-semver2/bogus/page/2.1.4/18.0.1.json 1605ms
error: '' is not a valid version string.

Expected Behavior

dotnet add package Bogus should work

Actual Behavior

dotnet add package Bogus does not work

Known Workarounds

No response

Could you help with a pull-request?

No

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

No branches or pull requests

1 participant