Repository navigation
user control library causing UNOB0017 #20850
|
I have a library with user controls in it, i want to use it in another project but keep getting the following error A reference to either Uno.WinUI.Runtime.WebAssembly or Uno.WinUI.WebAssembly has been detected. See more information at https://aka.platform.uno/UNOB0017 This is the library project file and this is the project that gets the error net9.0-browserwasm;net9.0-desktop |
Replies: 2 comments 1 reply
|
Thanks for the question. When using the |
|
We are also in the process of updating the default templates for library projects to avoid this in the future: unoplatform/uno.templates#1614 |
Thanks for the question. When using the
SkiaRendererin the project head, the library must also contain theSkiaRendereruno feature to avoid issues. We'll update the documentation to make this clearer.