Runtime: User Story: Developers can easily use NuGets with native libraries to build fast wasm projects

Created on 13 Nov 2020  路  2Comments  路  Source: dotnet/runtime

[WIP]

Developers would like to be able to easily consume NuGets for use in browser-wasm applications. NuGets which consist of managed libraries only are generally supported as long as they target net5.0+ and avoid APIs marked with the [UnsupportedOsPlatform("browser")] attribute. We need to go beyond that and support NuGet packages that include also native/unmanaged code targeting browser-wasm RID.

Work Items

  • NuGet Packaging

    • [ ] Document structure expectations

    • [ ] ABI versioning

    • [ ] Source builds

  • Tooling

    • [ ] Tooling installation (emscripten SDK)

    • [ ] Expose version requirements with LTS considerations

    • [ ] Run pinvoke generator on NuGet assemblies

    • [ ] Relink runtime with native code in build and publish

M 1 User Story arch-wasm area-Meta

Most helpful comment

Specific libraries with native dependencies that we've heard customer interest in include SkiaSharp and Sqlite.

All 2 comments

Specific libraries with native dependencies that we've heard customer interest in include SkiaSharp and Sqlite.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yahorsi picture yahorsi  路  3Comments

jkotas picture jkotas  路  3Comments

chunseoklee picture chunseoklee  路  3Comments

omajid picture omajid  路  3Comments

Timovzl picture Timovzl  路  3Comments