SkiaSharp
SkiaSharp copied to clipboard
[ISSUE] The referenced component 'C:\Users\USERNAME\.nuget\packages\skiasharp\2.80.3\buildTransitive\xamarinios1.0\..\..\build\xamarinios1.0\libSkiaSharp.framework' could not be found.
Description
I'm trying to compile my Xamarin Forms project with Visual Studio 2022 and I'm getting the following error:
The referenced component 'C:\Users\USERNAME.nuget\packages\skiasharp\2.80.3\buildTransitive\xamarinios1.0....\build\xamarinios1.0\libSkiaSharp.framework' could not be found.
Code
It seems a problem related to the NuGet package or reference, not a code problem.
Expected Behavior
No warning and able to compile and run the application.
Actual Behavior
Warning and the application does't run.
Basic Information
-
Version with issue: 2.80.3
-
Last known good version: none
-
IDE: Visual Studio 2022
-
Platform Target Frameworks:
- Android: 12
- iOS: Default SDK Version (15)
-
Target Devices:
-
iPad Air 4th generation
Screenshots
Reproduction Link
I'm having this exact problem. Is there a solution?
I still having this issue and I am not aware of any fix or workaround.
Warning The referenced component 'C:\Users\USERNAME.nuget\packages\skiasharp\2.80.3\buildTransitive\xamarinios1.0....\build\xamarinios1.0\libSkiaSharp.framework' could not be found.
Hi, Anyone with the solution?
We had a very similar problem today - as it happened, removing all the skia package folders from C:\Users<username>.nuget\packages and doing a full rebuild in VS resolved it. Random guess: Somehow the native ios package had been corrupted, maybe when it was initially downloaded?
The OP issue was probably a corrupted nuget download. Closing this for now, feel free to open a new issue if it returns.