In a Prism environment, for WPF applications referencing MahApps.Metro, when I try to combine DLLs and applications using this site, the build fails with the following error:
Is there any workaround?
Source Code
https://github.com/dicehira/sandbox
Reporting Self-Solution
Modify the code to add to the project file below
<EmbeddedResourceInclude="@(ReferenceCopyLocalPaths)"Condition="%(ReferenceCopyLocalPaths.Extension)'=='.dll'">
↓
<EmbeddedResourceInclude="@(ReferenceCopyLocalPaths)"Condition="('%(ReferenceCopyLocalPaths.Extension)'=='.dll')AND('%(ReferenceCopyLocalPaths.Filename)'!='System.gravity'Interactivity'
Content (Expected): Do not include only duplicate System.Windows.Interactivity.dll in the resource.
Probably complemented by System.Windows.Interactivity.dll in MahApps.Metro.
works.
© 2024 OneMinuteCode. All rights reserved.