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 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Thanks for the question. When using the |
Beta Was this translation helpful? Give feedback.
-
|
We are also in the process of updating the default templates for library projects to avoid this in the future: unoplatform/uno.templates#1614 |
Beta Was this translation helpful? Give feedback.
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.