Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

how to include alpha or beta nuget package but keeps getting the latest nuget package

$
0
0

Internally we publish a nuget package and other teams consume it. We have a product that always uses the latest nuget version by doing this:

<ItemGroup><PackageReference Include="OurNugetPackage" Version="2.*" />    ......</ItemGroup>

Now we would like to publish some alpha or beta version nuget package, so some team can try new things. Version will be like 2.1.1-beta, 2.1.0, 2.1.0-alpha.

But for this product, won't it automatically take the beta version (as it always take the latest version)?Is there a way to "always take latest version but exclude beta"?

Thanks


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>