Description
paket does not read nuget constraints before parsing SemVer
Repro steps
- Create a project
- Add a package
<ItemGroup>
<PackageReference Include="MyPackage" Version="[1.0.0]" />
</ItemGroup>
- Run
dotnet restore
- It works
paket convert-form-nuget --force
bang
Paket failed with
-> Can't parse "[1.0.0]". System.ArgumentException: SemVer.Parse
Expected behavior
Read nuget constraints syntax
Actual behavior
Crash on convert
Known workarounds
None

Description
paket does not read nuget constraints before parsing SemVer
Repro steps
dotnet restorepaket convert-form-nuget --forcebang
Expected behavior
Read nuget constraints syntax
Actual behavior
Crash on convert
Known workarounds
None