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

Build with Visual studio Team Services

3 Answers 76 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 1
Nicolas asked on 04 Jul 2016, 03:56 PM

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

 

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 07 Jul 2016, 01:19 PM
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
0
Nicolas
Top achievements
Rank 1
answered on 08 Jul 2016, 12:17 PM

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

 

 

 

0
Ves
Telerik team
answered on 13 Jul 2016, 12:22 PM
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
Tags
General Discussion
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Ves
Telerik team
Nicolas
Top achievements
Rank 1
Share this question
or