Build with Visual studio Team Services

4 posts, 0 answers
  1. Nicolas
    Nicolas avatar
    2 posts
    Member since:
    Feb 2014

    Posted 04 Jul Link to this post

    Hello,

    I am trying to build on visual studio team services the application we build with telerik UI. 

    I am stuck on the error : C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets (2049, 5)
    Could not find SDK "Telerik UI For Universal Windows Platform, Version=2016.2.608.45".

    Obviously, the tlerik UI is referenced in Visual Studio through the add Reference -> Extensions functionnality so the dll are referenced locally, which explains why the build serveur encounters this error. 

    I tried including the telerik dlls directly in my project adn reference them one by one instead of referencing the telerik extension. That actually mad the build pass on VSTS, BUT the application does not work anymore. It crashes with a WIn32 error on launch, so I guess the telerik dlls are missing some depedencies. 

     

    Does anyone know a way to reference telerik UI in a project so that it can compile on a build server and also locally ? 

     

    Thank you

    Nicolas R

     

  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 07 Jul Link to this post

    Hi Nicolas,

    One possible solution would be to install Telerik UI for UWP on the build PC and you will be able to use SDK reference. I understand this might not be possible or appropriate and in this case you can use assembly references. The requirements for Telerik UI for UWP are available in our online help here. If you are using RadMap, please check the RadMap getting started page for additional details.

    If the above does not seem to help, can you please paste the error message and the list of Telerik controls you are using? Thanks.

    Best regards,
    Ves
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Nicolas
    Nicolas avatar
    2 posts
    Member since:
    Feb 2014

    Posted 08 Jul in reply to Ves Link to this post

    Hello Ves and thank you for your answer. 

    Like I said I'm using Visual Studio Team Services (former Visual Studio Online) as build service so I can't install the SDK on the build Machine. 

    I am using the UWM Grid control. I tried to reference the DLL from Telerik UI, you'll see in the attached image the list off dlls referenced in the project, as well as the error message I have when I try to launch the application (which unfortunatly doesn't help much). 

    I guess the telerik controls are missing some dependencies, I couln't figure out how to add them to my project. 

     

    Thanks for you help

    Nicolas

     

     

     

  5. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 13 Jul Link to this post

    Hi Nicolas,

    Thanks for the additional info. RadDataGrid does not have any special dependencies, apart from Universal Windows SDK and Microsoft.NETCore.UniversalWindowsPlatform package, which are common for all UWP applications, and the Telerik dependencies - Telerik.Core, Telerik.Data, Telerik.UI.Xaml.Controls.Data, Telerik.UI.Xaml.Input and Telerik.UI.Xaml.Primitives.

    However, it is possible that you get an exception if the control's template is not applied. This might happen if the .pri files are not located next to their corresponding .dlls, as well as the subfolders named after the Telerik assemblies. Please, make sure you place the .pri files and the Telerik.* subfolders in the same folder, where Telerik .dlls are found i.e. mirror the structure of the Binaries folder and its subfolders in the installation folder on your computer:
    C:\Program Files (x86)\Telerik\UI for Universal Windows Platform Q2 2016\Binaries

    Best regards,
    Ves
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner