This question is locked. New answers and comments are not allowed.
When building my project on a new machine I get this error:
​Error 1 Payload contains two or more files with the same destination path 'Telerik.UI.Xaml.Chart\Themes\Generic.xbf'. Source files:
C:\Program Files (x86)\Telerik\UI for Windows 8.1 XAML Q1 2014\ExtensionSDKs\Core\Redist\CommonConfiguration\neutral\Telerik.UI.Xaml.Chart\Themes\Generic.xbf
X:\my\myproj\myapp\bin\Debug\Telerik.UI.Xaml.Chart\Themes\Generic.xbf
Any ideas of what I need to do?
​Error 1 Payload contains two or more files with the same destination path 'Telerik.UI.Xaml.Chart\Themes\Generic.xbf'. Source files:
C:\Program Files (x86)\Telerik\UI for Windows 8.1 XAML Q1 2014\ExtensionSDKs\Core\Redist\CommonConfiguration\neutral\Telerik.UI.Xaml.Chart\Themes\Generic.xbf
X:\my\myproj\myapp\bin\Debug\Telerik.UI.Xaml.Chart\Themes\Generic.xbf
Any ideas of what I need to do?
9 Answers, 1 is accepted
0
Hi Geir,
Thank you for contacting us.
Could you please provide some more information about your project and how you add references to our controls? It will be best if you send us a sample project that reproduces the issue.
I look forward to your reply.
Regards,
Rosy Topchiyska
Telerik
Thank you for contacting us.
Could you please provide some more information about your project and how you add references to our controls? It will be best if you send us a sample project that reproduces the issue.
I look forward to your reply.
Regards,
Rosy Topchiyska
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Alexis
Top achievements
Rank 1
answered on 05 Oct 2014, 04:32 AM
Hi Rosy,
I'm getting the same error. I'm building a Universal app, So 1 proj for Windows and 1 for Windows Phone + Shared Project items.
Windows builds fine, but windows phone gives me the same error.
Here is the error:
Error 1 Payload contains two or more files with the same destination path 'Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf'. Source files:
C:\Users\Alexis\AppData\Local\Microsoft SDKs\WindowsPhoneApp\v8.1\ExtensionSDKs\Telerik UI For Windows Universal\1.0\Redist\CommonConfiguration\neutral\Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf
E:\DUMP\DEV\Lyglr.Git\Sonium\src\Lyglr.Sonium\Lyglr.Sonium.WindowsPhone\bin\Debug\Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf Lyglr.Sonium.WindowsPhone
I add the reference to the Telerik UI For Windows Universal through the Add Reference>Windows Phone 8.1>Extensions>Telerik UI For Windows Universal.
Here was the reference to the SDK in the project looks like:
<ItemGroup>
<SDKReference Include="Telerik UI For Windows Universal, Version=1.0">
<Name>Telerik UI For Windows Universal</Name>
</SDKReference>
</ItemGroup>
As this is included as a SDK reference, disabling the "Copy Local" as a workaround isn't an option.
I'm getting the same error. I'm building a Universal app, So 1 proj for Windows and 1 for Windows Phone + Shared Project items.
Windows builds fine, but windows phone gives me the same error.
Here is the error:
Error 1 Payload contains two or more files with the same destination path 'Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf'. Source files:
C:\Users\Alexis\AppData\Local\Microsoft SDKs\WindowsPhoneApp\v8.1\ExtensionSDKs\Telerik UI For Windows Universal\1.0\Redist\CommonConfiguration\neutral\Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf
E:\DUMP\DEV\Lyglr.Git\Sonium\src\Lyglr.Sonium\Lyglr.Sonium.WindowsPhone\bin\Debug\Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf Lyglr.Sonium.WindowsPhone
I add the reference to the Telerik UI For Windows Universal through the Add Reference>Windows Phone 8.1>Extensions>Telerik UI For Windows Universal.
Here was the reference to the SDK in the project looks like:
<ItemGroup>
<SDKReference Include="Telerik UI For Windows Universal, Version=1.0">
<Name>Telerik UI For Windows Universal</Name>
</SDKReference>
</ItemGroup>
As this is included as a SDK reference, disabling the "Copy Local" as a workaround isn't an option.
0
Hello Alexis,
Thank you for the provided information.
Could you please manually delete the obj and bin folders from your solution and see if you still get this error. If so, could you please clarify if this problem is reproduced in a completely new project.
I look forward to your reply.
Regards,
Rosy Topchiyska
Telerik
Thank you for the provided information.
Could you please manually delete the obj and bin folders from your solution and see if you still get this error. If so, could you please clarify if this problem is reproduced in a completely new project.
I look forward to your reply.
Regards,
Rosy Topchiyska
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Alexis
Top achievements
Rank 1
answered on 13 Oct 2014, 12:28 AM
Removing obj and bin isn't doing anything.
I created an empty universal app project and added the reference and it's giving the same error:
Error 1 Payload contains two or more files with the same destination path 'Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf'. Source files:
C:\Users\Alexis\AppData\Local\Microsoft SDKs\WindowsPhoneApp\v8.1\ExtensionSDKs\Telerik UI For Windows Universal\1.0\Redist\CommonConfiguration\neutral\Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf
c:\users\alexis\documents\visual studio 2013\Projects\EmptyUniversalApp\EmptyUniversalApp.WindowsPhone\bin\Debug\Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf EmptyUniversalApp.WindowsPhone
I created an empty universal app project and added the reference and it's giving the same error:
Error 1 Payload contains two or more files with the same destination path 'Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf'. Source files:
C:\Users\Alexis\AppData\Local\Microsoft SDKs\WindowsPhoneApp\v8.1\ExtensionSDKs\Telerik UI For Windows Universal\1.0\Redist\CommonConfiguration\neutral\Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf
c:\users\alexis\documents\visual studio 2013\Projects\EmptyUniversalApp\EmptyUniversalApp.WindowsPhone\bin\Debug\Telerik.Universal.UI.Xaml.Chart\Themes\Generic.xbf EmptyUniversalApp.WindowsPhone
0
Hi Alexis,
Thank you for the information. Unfortunately we are unable to reproduce this problem on our side. Could you please try to add references directly to the assemblies instead of the SDK, and see if the problem persists.
I hope this helps.
Regards,
Rosy Topchiyska
Telerik
Thank you for the information. Unfortunately we are unable to reproduce this problem on our side. Could you please try to add references directly to the assemblies instead of the SDK, and see if the problem persists.
I hope this helps.
Regards,
Rosy Topchiyska
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Makro
Top achievements
Rank 1
answered on 23 Oct 2014, 04:32 PM
Hi guys
I also have this problem but i found solution ;)
The problem was in Telerik UI for Windows 8.1 XAML.dll because this file is not compatible with Windows 8.1.dll, instead this telerik dll you need to use Telerik.Core.dll, Telerik.UI.Xaml.Primitives.dll etc... To do this just choose Binaries reference when you create new Windows 8 Store Telerik project template
I also have this problem but i found solution ;)
The problem was in Telerik UI for Windows 8.1 XAML.dll because this file is not compatible with Windows 8.1.dll, instead this telerik dll you need to use Telerik.Core.dll, Telerik.UI.Xaml.Primitives.dll etc... To do this just choose Binaries reference when you create new Windows 8 Store Telerik project template
0
Andrés
Top achievements
Rank 1
answered on 12 Jan 2015, 12:11 AM
The fact that it happens with the Samples solution is extremely annoying.
I've tried many things and still nothing. Not fun. At all.
I've tried many things and still nothing. Not fun. At all.
0
Andrés
Top achievements
Rank 1
answered on 12 Jan 2015, 12:13 AM
I mean, happens with a copy of the solution installed at "C:\Program Files (x86)\Telerik\UI for Windows Universal Q3 2014\QSF"
*frustrated*
*frustrated*
0
Hi Andrés,
I am not sure if I understand it correctly -- it does not happen with the samples solution, but it happens with a copy of it? Is this just a copy of the .sln file or a complete copy of the entire folder? Did you verify that all the dependencies are correct?
Here are the steps I performed in order to build a copy of the examples:
Best regards,
Ves
Telerik
I am not sure if I understand it correctly -- it does not happen with the samples solution, but it happens with a copy of it? Is this just a copy of the .sln file or a complete copy of the entire folder? Did you verify that all the dependencies are correct?
Here are the steps I performed in order to build a copy of the examples:
- I copied C:\Program Files (x86)\Telerik\UI for Windows Universal Q3 2014\QSF folder to temporary location
- Then I copied the C:\Program Files (x86)\Telerik\UI for Windows Universal Q3 2014\Binaries folder to the same location, so that it is adjacent to QSF
- Enabled NuGet package restore for the solution
- Rebuild.
Best regards,
Ves
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.