I have linked two of my projects in which CalendarControl is dependent on NotesApp through a reference but when i compile my project i face 2 errors. Can anyone guide me in the right direction ??
Error 1
Payload contains two or more files with the same destination path 'App.xaml'. Source files: D:\\windows store app\\Notes\\Source\\C#\\NotesApp\\bin\\Debug\\App.xaml D:\\windows store app\\CalendarControl\\CalendarControl\\CalendarControl\\bin\\Debug\\App.xaml NotesApp
Error 2
Payload contains two or more files with the same destination path 'Common\\StandardStyles.xaml'. Source files: D:\\windows store app\\Notes\\Source\\C#\\NotesApp\\bin\\Debug\\Common\\StandardStyles.xaml D:\\windows store app\\CalendarControl\\CalendarControl\\CalendarControl\\bin\\Debug\\Common\\StandardStyles.xaml NotesApp
To workaround this, go to the DLL output folder (eg bin\\Release), create a new folder named like your DLL-Name (eg MyUserControlLibrary) and move the XAML files down to this folder.
bin\\Release
MyUserControlLibrary.dll
MyUserControlLibrary.pri
\\MyUserControlLibrary [folder] <-- create
UserControl1.xaml <-- move here
UserControl2.xaml <-- move here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.