Closed ViktorHofer closed 1 week ago
ApiCompat failures:
Unnecessary suppressions found. The APICompat suppression file can be updated by rebuilding with
'/p:ApiCompatGenerateSuppressionFile=true' [/__w/1/s/src/System.Numerics.Vectors/src/System.Numerics.Vectors.csproj]
[Baseline] CP0003
(Target: 'System.Numerics.Vectors, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a',
Left: 'lib/netstandard2.0/System.Numerics.Vectors.dll', Right: 'lib/netstandard2.0/System.Numerics.Vectors.dll')
Unnecessary suppressions found. The APICompat suppression file can be updated by rebuilding with
'/p:ApiCompatGenerateSuppressionFile=true' [/__w/1/s/src/System.Buffers/src/System.Buffers.csproj]
[Baseline] CP0003
(Target: 'System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51',
Left: 'lib/netstandard2.0/System.Buffers.dll', Right: 'lib/netstandard2.0/System.Buffers.dll')
LGTM but I wanted to ask if we should increase the AssemblyVersion's minor value, not the major value
This PR updates the build/patch (the third digit) version of the hardcoded package and assembly versions. Are you asking whether we should update the revision of the hardcoded assembly versions (the fourth digit)?
This PR updates the build/patch (the third digit) version of the hardcoded package and assembly versions. Are you asking whether we should update the revision for the hardcoded assembly versions (the fourth digit)?
Yes. Would that cause problems? Example: Instead of going from 1.2.3.4
to 1.2.4.0
, go to 1.2.3.5
.
Edit: Depending on the answer, I'd have to modify the readme PR: https://github.com/dotnet/maintenance-packages/pull/39
New ApiCompat failures after the last commit:
Unnecessary suppressions found. The APICompat suppression file can be updated by rebuilding with '/p:ApiCompatGenerateSuppressionFile=true'
[Baseline] CP0003
(Target: 'System.Numerics.Vectors, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a',
Left: 'lib/netstandard2.0/System.Numerics.Vectors.dll',
Right: 'lib/netstandard2.0/System.Numerics.Vectors.dll')
Honestly, I don't think that's necessary. The format between the AssemblyVersion and PackageVersion is different and so I would rather try to keep them in sync by not touching the Revision (fourth digit) that is only available for the AssemlbyVersion. I don't think that we could easily run out of space given that we can have versions like x.x.55.x. The third part doesn't need to be < 10.
Alright, sounds good. Do the honors and hit that merge button.
This needs to wait until the current packages got released to nuget.org.