-
Notifications
You must be signed in to change notification settings - Fork 78
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
Can't use pre-release nuget packages? #180
Comments
@knocte can you please try once again? I've published version without dots |
@sergey-tihon thanks! looks like we're progressing, because now I get a different error:
|
According to GitHub docs Installing NuGet package you need to authenticate first |
Ehmm, what? If the packages are from an opensource repo that is public, I don't understand why authentication is needed. I hope this doesn't mean that the restore stage needs authentication too? Will test... |
Strangely enough, I get again the error that I was getting at the beginning (before you pushed 4bdfae2 ):
Maybe the authentication is failing and somehow the exposed error is this one by mistake? Take in account that I don't belong to the |
Tried to more things, FYI, to no avail:
|
message say that you should not use --prerelease when you specify exact version.
|
@sergey-tihon judging by your last reply, it seems you only read my last message, but not the previous one. That is, the error I got about prerelease was just my last attempt at trying to find out if I was doing something wrong. I was aware of its error message, but just pasted it anyway, in case you were going to suggest me to use that flag.
Already tried, check my previous message (previous to the one where I pasted the --prerelease error). |
@sergey-tihon friendly ping :) I was just wondering, that if these pre-release packages cannot be used by anyone that is not part of the |
@knocte sorry, I missed one your message.
I think that you will need to commit
It cannot be so, because can download them manually even you not authenticated here https://github.com/orgs/fsprojects/packages?repo_name=FSharpx.Collections
May I ask you try one time? |
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
--source
flag 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:
Related information
The text was updated successfully, but these errors were encountered: