[Library Project + NuGet] Best approach to support w/ and w/o SkiaRenderer? #21408
-
I have a library project that I'd like to make into a NuGet and share. However, because of #20850, it appears I need to make two versions of it - a SkiaRenderer enabled version and a non-SkiaRenderer enabled version. Which makes me wonder - just as is done for TargetFramework, is there something I can do in the build and NuGet configurations to automate the selection of which version of my library to use? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for the question. If you want to support both with and without skia rendering, you'll need to limit your targets to You can see more information here: https://platform.uno/docs/articles/features/using-skia-rendering.html#implications-for-iosandroid-class-libraries |
Beta Was this translation helpful? Give feedback.
Thanks for the question.
If you want to support both with and without skia rendering, you'll need to limit your targets to
net9.0
(all Skia targets),net9.0-ios
(native ios),net9.0-android
(native android).You can see more information here: https://platform.uno/docs/articles/features/using-skia-rendering.html#implications-for-iosandroid-class-libraries