Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Packing a nupkg with SkiaSharp 2.80.x fails due to some missing manifest file #1830

Open
samtun opened this issue Oct 14, 2021 · 1 comment

Comments

@samtun
Copy link

samtun commented Oct 14, 2021

Description

I am trying to pack a class library project which references SkiaSharp.Views.Forms.
Doing so via msbuild -t:pack does result in the error shown below, expecting some kind of manifest.
With version 1.68.3 of SkiaSharp this worked just fine.

Creating the missing manifest file manually in the expected location fixes the process, but that's not really a fix.

Expected Behavior

The package can be packed just like before.

Actual Behavior

The pack process fails in the last step with the following error message:

".../SkiaSharpAppiOS/SkiaSharpAppiOS/ClassLibraryiOS/ClassLibraryiOS.csproj" (pack target) (1) ->
(GenerateNuspec target) -> 
  .../.nuget/packages/nuget.build.tasks.pack/5.6.0/build/NuGet.Build.Tasks.Pack.targets(198,5): error : 
  The file '.../SkiaSharpAppiOS/SkiaSharpAppiOS/ClassLibraryiOS/bin/iPhoneSimulator/Debug/Native.ClassLibraryiOS.manifest' to be packed was not found on disk. 
  [.../SkiaSharpAppiOS/SkiaSharpAppiOS/ClassLibraryiOS/ClassLibraryiOS.csproj]

Basic Information

  • Version with issue: 2.80.x
  • Last known good version: 1.68.3
  • IDE: Jetbrains Rider
  • Platform Target Frameworks:
    • iOS: Xamarin.iOS
  • Target: Nuget package

Reproduction Link

Created a minimal setup to test this (see the readme for detailed instructions):
https://github.com/samtun/SkiaSharpPack

@maxkatz6
Copy link
Contributor

maxkatz6 commented Mar 1, 2022

Original issue is this dotnet/msbuild#4584

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants