Package listed as prerelease #25031
-
Hello, I have to similar workflows and nuspec:
that publish a Nuget package to github
the first one is correctly listed in visual studio, the second one appears only if I tick the “include prerelease” checkbox, can you help me to understand why? thanks regards |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
I forked your repo and created both packages, however both packages can display well on my VS2019 without ‘prelease’ checked, could you please have a double check? eg, recreate package and change another vs client? |
Beta Was this translation helpful? Give feedback.
-
@weide-zhou thanks to try and let me know, I’ll double check, but I already created a new version of the package several times. About change another VS client, do you mean a different Visual Studio/PC? not the one I’m using? thanks |
Beta Was this translation helpful? Give feedback.
-
I download your nuget packages and checked it can show well on my vs2019. Please check your vs client. |
Beta Was this translation helpful? Give feedback.
-
I can confirm that on my friends VS worked, thanks :slight_smile: |
Beta Was this translation helpful? Give feedback.
-
So what is the solution now? I have the same problem all my packages are only available for installation if pre-release checkbox is ticked. |
Beta Was this translation helpful? Give feedback.
-
I’m getting the same thing. Publishing *Private* packages to a private repo and they only show up if you click the Prerelease checkbox. Glad I found your post as I thought I was going mad. |
Beta Was this translation helpful? Give feedback.
-
As above mentioned this is not working for me. Packages show as prerelease. When are we going to see UI to manage packages. GraphQL is not a solution calling raw APIs. |
Beta Was this translation helpful? Give feedback.
-
Did anyone has a solution? |
Beta Was this translation helpful? Give feedback.
-
There’s some minimal properties that you must specify inside the PropertyGroup tag on your csproj.
In my case I was missing an explicit Version tag even though I was generating one when doing dotnet pack. |
Beta Was this translation helpful? Give feedback.
-
I’ll try this solution out, but both of them are without these properties, first one works and second one no |
Beta Was this translation helpful? Give feedback.
I download your nuget packages and checked it can show well on my vs2019. Please check your vs client.