You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new project with a reference to a package that
a. has a minor or patch upgrade
b. specifies a version range, e.g. <PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="[6.0.13,7)" />
Run the upgrade command, e.g. dotnet-outdated --version-lock Major --upgrade
EXPECTED RESULT
The specified version range is preserved, i.e. the resulting reference should be <PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="[6.0.14,7)" />
ACTUAL RESULT
Version ranges are removed, i.e. the resulting reference is <PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="6.0.14" />
STEPS TO REPRODUCE
a. has a minor or patch upgrade
b. specifies a version range, e.g.
<PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="[6.0.13,7)" />dotnet-outdated --version-lock Major --upgradeEXPECTED RESULT
The specified version range is preserved, i.e. the resulting reference should be
<PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="[6.0.14,7)" />ACTUAL RESULT
Version ranges are removed, i.e. the resulting reference is
<PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="6.0.14" />