Completed
Last Updated: 12 Mar 2019 21:49 by ADMIN
Jacob
Created on: 05 Mar 2019 23:07
Category: UI for Xamarin
Type: Bug Report
0
DevOps Build agent Fails

We can build on our personal development environments without issue. The issue is only on the Azure DevOps build server. We believe this to be related to a version incompatibility. Possibly the build server is attempting to reference an old library. We are seeing the issue on both iOS and Android builds. 

This issue is well documented here: 
https://www.telerik.com/forums/can%27t-resolve-the-reference-%27system-object#wNK1sRy19UOhttFJzbEshQ

Our version info:
- Build server is using  Microsoft's hosted agent with Visual Studio for Mac 7.7.4.1 (attached file with all software installed on the host build-host-software.txt)
- App is on version 3.4.0+
- Referenced libraries use .NET Standard 1.6 and 2.0
- Xamarin.Forms app is hosted in a .NET Standard 2.0 library

Could we get a hold of an older compatible version of the software that can work with our version if there is no workable solution here ?

 
2 comments
ADMIN
Lance | Manager Technical Support
Posted on: 12 Mar 2019 15:02
Hi Jacob,

I wanted to follow up here and share a solution from Mike in this forum thread. Run the following script (in a Terminal or Bash task) on the Hosted Mac Agent before building the solution. 

 echo 'Selecting Xamarin SDK version...'
sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_16_0

This should work around the problem until Microsoft updates the hosted agent.

Regards,
Lance | Technical Support Engineer, Principal
Progress Telerik
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
ADMIN
Lance | Manager Technical Support
Posted on: 05 Mar 2019 23:17
Hi Jacob,

The Sitefinity team has informed me of your report and I have created this feedback item as this issue is reported on multiple occasions.

The problem is due to Microsoft having outdated version of Visual Studio for Mac on the Hosted Mac Agents, there is unfortunately nothing we can do to help solve this. However, I do have a solution that you can use immediately to get past it until they update the Hosted Agent.

Solution

Use a Self-Hosted Agent. You can download the Agent from your DevOps pipeline and run it locally on your Mac, there are complete instructions here.

When that's setup on your Mac (and/or PC), you can set the pipeline's Agent to Default. It will then go to your self-hosted agent pool and run builds there.

You still get the drops in DevOps and the Release Pipelines will also work this way as well.


Older UI for Xamarin Release

You requested older UI for Xamarin release packages, however your account has never had a license for UI for Xamarin. I assuming that you're using your employer's licensed version.

In either case, they will need to be the one to open a Support Ticket and request an older version. Although, they shouldn't need to do this as their license spans one year and they can just select an older version from the NuGet Package Manager.

Regards,
Lance | Technical Support Engineer, Principal
Progress Telerik
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