-
ProblemI have a solution with 2 projects:
Uno6.Desktop.csproj project has a reference to Uno6.WebView.csproj project. I got an error when publishing a project on MacOS, and by the way, the project is successfully published on Linux and Windows.
QuestionWhat is the correct way to add WebView feature in this case? How to reproduce it
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@al-kau this looks like #20777 Can you check if you have satellite assemblies in the |
Beta Was this translation helpful? Give feedback.
-
I have 6 WebView2Loader.dll files inside the publish directory and one copy of the dll in the Uno6.Desktop.app package
List of all items in the publish directory publish-ls.txt |
Beta Was this translation helpful? Give feedback.
-
What you did is correct. A clean, before each macOS publish (x64 and arm64), would be a workaround. Also (a bit more tricky but) you could edit the I've opened #20782 to track the issue. |
Beta Was this translation helpful? Give feedback.
What you did is correct.
A clean, before each macOS publish (x64 and arm64), would be a workaround.
Also (a bit more tricky but) you could edit the
<UnoFeatures>
not to includeWebView
for macOS. This is because WebView is built-in into the macOS skia host since it has no external dependencies (it's part of the OS).I've opened #20782 to track the issue.