mhutch / MonoDevelop.MSBuildEditor

Improved MSBuild editing support
Other
215 stars 26 forks source link

NuGet versions do not support globs and ranges #166

Closed Vasilich closed 4 months ago

Vasilich commented 5 months ago

if use release-dependent versions in form

<PackageReference Include="xxx" Version="[16.3.*,17.0)" />

that is valid and works as expected, the popup says that "The value "[16.3.*,17.0)" not a valid suffixed version format" image But it shows that not for all lines having same format :/

OronDF343 commented 5 months ago

This error even appears on simpler versions using just an *:

    <PackageReference Include="Microsoft.AspNetCore.Hosting.WindowsServices" Version="8.0.*" />

image

mhutch commented 4 months ago

This was fixed in https://github.com/mhutch/MonoDevelop.MSBuildEditor/pull/194. I'll publish an update with this fix in the next couple days.