NuGet / Home

Repo for NuGet Client issues
Other
1.49k stars 252 forks source link

NuGet Error: Unable to parse version value '2.0.0-beta.3' from 'packages.config #13750

Open jsquire opened 3 weeks ago

jsquire commented 3 weeks ago

Issue Transfer

This issue has been transferred from the Azure SDK for .NET repository, #45718.

Please be aware that @limdv is the author of the original issue and include them for any questions or replies.

Details

Hello,

After I installed Azure.AI.OpenAI 2.0.0-beta.3 I receive the following build errors. Anyone else seen and been able to resolve this issue. I can't seem to find any information regarding this error and it may not be specific to this package. It seems to be any package with 4 segments in the version. Any idea how to fix this?

C:\Projects\SMTMVC.nuget\nuget.targets(92,9): error : Unable to parse version value '2.0.0-beta.3' from 'packages.config'. 3>C:\Projects\SMTMVC.nuget\nuget.targets(92,9): error MSB3073: The command ""C:\Projects\SMTMVC.nuget\NuGet.exe" install "C:\Projects\SMTMVC\SMTMVC\packages.config" -source "" -NonInteractive -RequireConsent -solutionDir "C:\Projects\SMTMVC\ "" exited with code 1.

Environment

MVC project targeting the .NET Framework 4.8 in Visual Studio 2022 (Version 17.11.0), Nuget Package Manager (Version 6.11.0).

dotnet-policy-service[bot] commented 3 weeks ago

Issue is missing Type label, remember to add a Type label