Uno Applications with Plugin support. #20674
Replies: 2 comments 3 replies
-
Thanks for the report. I'm not seeing the behavior that you're describing, there are no dlls in the output for a library project. Could you create a repro solution which demonstrates the issue? |
Beta Was this translation helpful? Give feedback.
-
in this project building that for the winappsdk target gives some some extra dlls building for net9.0-desktop produces the expected dlls. but if you include the true in the csproj file as mentioned in the msdocs if i don't set EnableDynamicLoading it won't copy the nuget references to the output |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I followed the microsoft guide of making plugin based application, which you can see here.
In plugin projects i'll add
<EnableDynamicLoading>true</EnableDynamicLoading>
When i publish a plugin project. i only expect 1 dll if it's a simple plugin without any nuget references. otherwise, it should only include
the projects dll and it's nuget references and dependencies.
To remove dlls from project references i'll add the below to all the project references.
The only dlls remaining the the publish directory are now the Uno.* ones. (It's not needed with plugins as they'll be part of the main application and it'll be a waste of space to include them.)
I also go this issue, which got resolved after removing the excess dlls manually
Beta Was this translation helpful? Give feedback.
All reactions