Unnecessary Native Runtimes Included in Tizen App Builds

Original Created May 10, 2018 | Regeneration Apr 22, 2026

I'm working with a NuGet package (SkiaSharp) that contains multiple native runtime assets for different platforms:

  • win7-x64
  • win7-x86
  • osx
  • linux-x64
  • linux-x86
  • tizen-armel
  • tizen-x86

When building and installing the app on Tizen devices/emulators, ALL runtime assets are included in the package, resulting in:

  1. Larger than necessary package size
  2. Inclusion of unsupported libraries

Expected behavior: The build process should only include relevant runtimes for Tizen (tizen-armel and possibly tizen-x86).

Problem Understanding

The issue occurs when building Tizen applications using NuGet packages containing multiple platform-specific native libraries. The build system currently includes all runtime assets regardless of platform compatibility, leading to bloated packages.

Solution Methods

  1. Report the Issue:

  2. Contribute to the Solution:

    • The Tizen .NET build tools are open source
    • Review and contribute to the codebase: Tizen Git Repository (look for Domain: Dotnet)
  3. Alternative Approach:

    • Consider creating a custom NuGet package that only includes Tizen-specific runtime assets
    • Explore post-build scripts to remove unnecessary libraries before packaging

Additional Tips

  • When reporting bugs, include:
    • Detailed reproduction steps
    • Package versions used
    • Build environment information
  • Monitor the issue status and update your implementation accordingly
  • Consider testing with different Tizen versions as behavior might vary

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.