ImageSharp.Drawing icon indicating copy to clipboard operation
ImageSharp.Drawing copied to clipboard

Beta12 nuget package lib for netcoreapp3.1 target has incorrect version of SixLabors.ImageSharp.Drawing.dll

Open starkna opened this issue 5 years ago • 7 comments

Prerequisites

  • [X] I have written a descriptive issue title
  • [X] I have verified that I am running the latest version of ImageSharp.Drawing
  • [X] I have verified if the problem exist in both DEBUG and RELEASE mode
  • [X] I have searched open and closed issues to ensure it has not already been reported

Description

When referencing the beta12 nuget package for netcoreapp3.1 target, the wrong version of the SixLabors.ImageSharp.Drawing.dll is included (0.0.0-alpha.0+39acb53427a-4b0d0f989c...) instead of the correct 1.0.0-beta12 version.

Steps to Reproduce

Add nuget package reference for Sixlabors.ImageSharp.Drawing beta 12 to netcoreapp3.1 (or net5.0) project).

System Configuration

N/A

  • ImageSharp.Drawing version: beta12
  • Other ImageSharp packages and versions: N/A
  • Environment (Operating system, version and so on): Windows 10 20H2
  • .NET Framework version: Net5.0
  • Additional information:

starkna avatar May 25 '21 13:05 starkna

@starkna thanks for raising this!

I've confirmed there's definitely an issue and it's only affecting the Core3.1 build. I'll have a look at our build process and if I can identify a fix will release a new beta today.

image

JimBobSquarePants avatar May 25 '21 14:05 JimBobSquarePants

@JimBobSquarePants Thanks for the quick reply - appreciate it!

starkna avatar May 25 '21 14:05 starkna

FYI the code is all correct and it isn't actually the wrong version of the dll it is in fact just broken version number embedded in the correct dll. So to conclude wrong number on new dll rather than old dll.

tocsoft avatar May 25 '21 14:05 tocsoft

It's definitely an odd one and doesn't seem to affect any of our other repos with identical setup. I'm experimenting with a simplified build process to see if I can narrow a cause down.

JimBobSquarePants avatar May 25 '21 15:05 JimBobSquarePants

Nope. I'm stumped. There's no justification for this I can find.

https://github.com/SixLabors/ImageSharp.Drawing/runs/2667132314?check_suite_focus=true#step:5:15

JimBobSquarePants avatar May 25 '21 16:05 JimBobSquarePants

I've asked in the MinVer repo https://github.com/adamralph/minver/discussions/518

JimBobSquarePants avatar May 25 '21 16:05 JimBobSquarePants

Switching to Ubuntu works for now. I've released a new beta 13 and de-listed beta 12.

https://www.nuget.org/packages/SixLabors.ImageSharp.Drawing/1.0.0-beta13

JimBobSquarePants avatar May 27 '21 20:05 JimBobSquarePants