SkiaSharp icon indicating copy to clipboard operation
SkiaSharp copied to clipboard

[FEATURE] publish .lib packages

Open danielmayost opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

I want to build single NativeAOT file with SkiaSharp related projects like Avalonia.

Describe the solution you'd like

Please publish static lib in your nuget packages.

Additional context

see https://github.com/AvaloniaUI/Avalonia/issues/9503 https://github.com/dotnet/runtimelab/blob/feature/NativeAOT/docs/using-nativeaot/interop.md#linking

danielmayost avatar May 19 '23 11:05 danielmayost

Why a backlog? This is important for publishing single app applications. If you have problems adjusting msbuild props, here is an example of how the guys from sentry made automatic linking of applications in AOT mode. https://github.com/getsentry/sentry-dotnet/blob/6be273b4d324aa2472110f364d2d8dc6aec2d283/src/Sentry/Platforms/Native/Sentry.Native.targets#L4

0xF6 avatar May 24 '25 12:05 0xF6