LINQPad NuGet Manager - Pre-release dependency
It seems LINQPad is not able to add a NuGet with a dependency from another NuGet in prerelease version.
When I try to do so there's a message box displaying
"Error Downloading 'SomeNuget' - Unable to resolve dependency 'SomeNuget in Pre-release'"
My version of LINQPad is v5.31.0
Visual Studio can handle this by using "Install-Package SomeNuget -pre"
Is it possible to consider adding this possibility when "Include Prerelease" is selected ?
Best regards from France,
Philippe
When I try to do so there's a message box displaying
"Error Downloading 'SomeNuget' - Unable to resolve dependency 'SomeNuget in Pre-release'"
My version of LINQPad is v5.31.0
Visual Studio can handle this by using "Install-Package SomeNuget -pre"
Is it possible to consider adding this possibility when "Include Prerelease" is selected ?
Best regards from France,
Philippe
Comments
I install that package via the command-line :
> nuget.exe install SomeNuget
Attempting to resolve dependencies for package 'SomeNuget.1.0.X.X' with DependencyBehavior 'Lowest'
Unable to resolve dependencies 'OtherNuget.4.0.0.1' is not compatible with 'SomeNuget.1.0.X.X constraint: OtherNuget (>= 4.0.0.156-pre)'
However I can install it with :
> nuget.exe install SomeNuget -PreRelease
Adding the option PreRelease allow me to install that package
I tried with latest beta 5.34.0. The 'Include Prerelease' is checked.
I'm able to install a pre-release NuGet but the install of a Nuget wich depend of a prerelease NuGet still don't work.
Note that you are not supposed to create NuGet release packages with pre-release dependencies. The fact that Visual Studio allows this could be considered a bug in Visual Studio.