-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
Description
Trying to add a pre-release nuget package reference to my projects yields an error.
Repro steps
-
Use the adviced command:
dotnet add myProject/myProject.fsproj package FSharpx.Collections --version 3.0.0-alpha2021.09.17.065817 -
Try adding the
--sourceflag too:dotnet add myProject/myProject.fsproj package FSharpx.Collections --version 3.0.0-alpha2021.09.17.065817 --source https://nuget.pkg.github.com/fsprojects/index.json
Expected behavior
Should add the PackageReference to the .fsproj file.
Actual behavior
Gives this error:
Determining projects to restore...
Writing /var/folders/kj/152c8zjj40lfmxd3dbjf_2kw0000gp/T/tmpG5r3iC.tmp
info : Adding PackageReference for package 'FSharpx.Collections' into project 'myProject/myProject.fsproj'.
error: '3.0.0-alpha2021.09.17.065817' is not a valid version string.
Related information
- Operating system: tested with macOS 11.6
- Branch: master (latest pre-release from master branch)
- .NET Runtime: 5.0.401
Metadata
Metadata
Assignees
Labels
No labels