This is a migrated thread and some comments may be shown as answers.

Telerik Grid build on x86 or x64 error (with Bing Maps)

2 Answers 54 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dave Smits
Top achievements
Rank 1
Dave Smits asked on 13 Feb 2015, 01:18 PM
Hi,

In our project we succesfully added the Telerik DataGrid in our Windows 8.1 project via XAML. Now we would like to show a Bing Map and a DataGrid on the same page, but Bing Maps requires us to build the app for x64 or x86 where we previously could just build for Any CPU.

Now when we try to build for x64 or x86 we get the following error message:

Payload contains two or more files with the same destination path 'Telerik.UI.Xaml.Grid\Themes\Resources.xbf'. Source files:
C:\Program Files (x86)\Telerik\UI for Windows Universal Q3 2014\SDKs\Windows 8.1\Telerik UI for Windows Universal\Redist\CommonConfiguration\neutral\Telerik.UI.Xaml.Grid\Themes\Resources.xbf
C:\Projects\[PATH-TO-PROJECT]\bin\x64\Debug\Telerik.UI.Xaml.Grid\Themes\Resources.xbf

Is this a bug, or am I missing something here?





2 Answers, 1 is accepted

Sort by
0
Accepted
Vladislav
Telerik team
answered on 18 Feb 2015, 09:30 AM
Hello Dave Smits,

Thank you for contacting us.

Unfortunately there is a known issue when using our SDKs with other SDKs (Bing Maps SDK in particular) in processor specific configuration (x86, x64, ARM). In order to workaround it, you can reference our binaries directly (from the installation folder) and not using our SDK. Currently we are not aware of other workaround of this issue (while still using our SDKs).
We hope that the suggested approach is applicable for you.

Regards,
Vladislav
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
Khurram
Top achievements
Rank 1
answered on 16 Jun 2015, 07:03 AM

1. Get the path of SDK folder (right click on referenced telerik
library in project and see properties) and copy binaries folder to a
another location

2. Uninstall Telerik Universal App SDK

3. Open you project and remove Telerik Library from references (which should be giving exclamation mark since the SDK is removed now)

4. Now add the reference of libraries from the folder you copied binaries into. (In my case, i referenced two libraries 'Telerik.Core.dll' and 'Telerik.UI.Xaml.Primitives.dll')

And it worked.

Tags
DataGrid
Asked by
Dave Smits
Top achievements
Rank 1
Answers by
Vladislav
Telerik team
Khurram
Top achievements
Rank 1
Share this question
or