Packages are redundantly recreated
adamralph opened this issue · 2 comments
adamralph commented
Version(s)
1.0.0 to 2.5.0.
To reproduce
Steps to reproduce the behaviour:
- Create a class library
- Add a package reference to MinVer 2.5.0
- Multi-target the class library. E.g.
<TargetFrameworks>net5.0;net6.0</TargetFrameworks>
- Run
dotnet build
- Run
dotnet pack
- Run
dotnet pack
again
Expected behaviour
The package is created during the first dotnet pack
but not during the second dotnet pack
.
Actual behaviour
The package is created during both the first dotnet pack
and the second dotnet pack
.
Workarounds
Ignore the problem and live with the redundant resource usage.
Additional context
adamralph commented
@xoofx I've released this in 3.0.0-rc.2. If all goes well I'll push out 3.0.0 soon.