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

3 posts, 1 answers
  1. Dave Smits
    Dave Smits avatar
    8 posts
    Member since:
    Sep 2009

    Posted 13 Feb 2015 Link to this post


    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

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

  2. Answer
    Vladislav avatar
    274 posts

    Posted 18 Feb 2015 Link to this post

    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.


    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.

  3. Khurram
    Khurram avatar
    2 posts
    Member since:
    Apr 2011

    Posted 16 Jun 2015 Link to this post

    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.

Back to Top