Closed apwillies closed 7 years ago
@madhurig We finally found a solution to this problem. Here's a post we found https://stackoverflow.com/questions/42737784/visual-studio-2017-build-agent-fails-to-build-with-error-cs0400. Issue was that the version of Nuget.exe on the build server was out-of-date. The post explains it this way:
Because the project file was in VS 2017 format, nuget.exe was unable to find any referenced packages, so was completing successfully without actually pulling anything in.
The solution is to update Nuget: nuget update -Self on the build server.
I believe this issue can be marked as resolved - is not an issue with the task, but an issue with configuration on the machine.
Hey guys @madhurig @apwillies
I am trying to build my Android app on App Center, but the build fails everytime. Build works fine on local machine but it fails only on App Center. Please help ! BTW if i need to update nuget on App Center, how do i do that. Steps please !
I am using VS 2017 version 15.7.3 and Nuget package manager version on VS is 4.6.0
Below is the log.
git-lfs/2.4.2 (GitHub; darwin amd64; go 1.10.2)
Initialized empty Git repository in /Users/vsts/agent/2.134.2/work/1/s/.git/
Updated git hooks. Git LFS initialized.
remote:
remote: vSTs
remote: vSTSVSTSv
remote: vSTSVSTSVST
remote: VSTS vSTSVSTSVSTSV
remote: VSTSVS vSTSVSTSV STSVS
remote: VSTSVSTSvsTSVSTSVS TSVST
remote: VS tSVSTSVSTSv STSVS
remote: VS tSVSTSVST SVSTS
remote: VS tSVSTSVSTSVSts VSTSV
remote: VSTSVST SVSTSVSTs VSTSV
remote: VSTSv STSVSTSVSTSVS
remote: VSTSVSTSVST
remote: VSTSVSTs
remote: VSTs (TM)
remote:
remote: Microsoft (R) Visual Studio (R) Team Services
remote:
remote:
remote: Found 160 objects to send. (6 ms)
Receiving objects: 100% (160/160), 2.11 MiB | 884.00 KiB/s, done.
Resolving deltas: 100% (47/47), done.
From https://darshancanarys.visualstudio.com/***/_git/***
fetch: Fetching reference 91d90f9962854db4b5a0ba8c0ed539a21a263c2b
HEAD is now at 91d90f9 Updated Target Framework Version
[command]/bin/bash /Users/vsts/agent/2.134.2/scripts/emit-tags.sh continuous,xamarin,signed,android,testcloud,distribution
Build '11' has following tags now: normal, continuous
Build '11' has following tags now: normal, xamarin, continuous
Build '11' has following tags now: normal, xamarin, signed, continuous
Build '11' has following tags now: normal, xamarin, signed, android, continuous
Build '11' has following tags now: normal, xamarin, signed, android, testcloud, continuous
Build '11' has following tags now: normal, xamarin, signed, android, testcloud, distribution, continuous
[command]/bin/bash /Users/vsts/agent/2.134.2/scripts/select-xamarin-sdk.sh 5_4_0 Set Xamarin SDK to 5_4_0 Set Current folder for /Library/Frameworks/Mono.framework/Versions Set Current folder for /Library/Frameworks/Xamarin.iOS.framework/Versions Set Current folder for /Library/Frameworks/Xamarin.Android.framework/Versions Set Current folder for /Library/Frameworks/Xamarin.Mac.framework/Versions
[command]/bin/bash /Users/vsts/agent/2.134.2/scripts/install-keystore.sh ***
[command]/bin/bash -c /usr/bin/find . -name '*.sln' -type f -print0 | /usr/bin/xargs -0 grep -l '.Droid.csproj' | /usr/bin/xargs -I '{}' nuget restore '{}' -DisableParallelProcessing MSBuild auto-detection: using msbuild version '15.0' from '/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/msbuild/15.0/bin/'. WARNING: Project file /Users/vsts/agent/2.134.2/work/1/s/../.Common/*.Common.csproj cannot be found. Restoring NuGet package Autofac.4.6.2. Adding package 'Autofac.4.6.2' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Autofac.4.6.2' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Microcharts.0.7.1. GET https://api.nuget.org/v3-flatcontainer/microcharts/0.7.1/microcharts.0.7.1.nupkg OK https://api.nuget.org/v3-flatcontainer/microcharts/0.7.1/microcharts.0.7.1.nupkg 755ms Installing Microcharts 0.7.1. Adding package 'Microcharts.0.7.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Microcharts.0.7.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Microcharts.Forms.0.7.1. GET https://api.nuget.org/v3-flatcontainer/microcharts.forms/0.7.1/microcharts.forms.0.7.1.nupkg OK https://api.nuget.org/v3-flatcontainer/microcharts.forms/0.7.1/microcharts.forms.0.7.1.nupkg 278ms Installing Microcharts.Forms 0.7.1. Adding package 'Microcharts.Forms.0.7.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Microcharts.Forms.0.7.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Microsoft.AppCenter.1.6.1. Adding package 'Microsoft.AppCenter.1.6.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Microsoft.AppCenter.1.6.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Microsoft.AppCenter.Analytics.1.6.1. Adding package 'Microsoft.AppCenter.Analytics.1.6.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Microsoft.AppCenter.Analytics.1.6.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Microsoft.AppCenter.Crashes.1.6.1. Adding package 'Microsoft.AppCenter.Crashes.1.6.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Microsoft.AppCenter.Crashes.1.6.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Microsoft.AppCenter.Distribute.1.6.1. Adding package 'Microsoft.AppCenter.Distribute.1.6.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Microsoft.AppCenter.Distribute.1.6.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Microsoft.CSharp.4.4.1. Adding package 'Microsoft.CSharp.4.4.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Microsoft.CSharp.4.4.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Microsoft.NETCore.Platforms.2.0.1. Adding package 'Microsoft.NETCore.Platforms.2.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Microsoft.NETCore.Platforms.2.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Microsoft.Win32.Primitives.4.3.0. Adding package 'Microsoft.Win32.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Microsoft.Win32.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package NETStandard.Library.2.0.1. Adding package 'NETStandard.Library.2.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'NETStandard.Library.2.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Newtonsoft.Json.10.0.3. Adding package 'Newtonsoft.Json.10.0.3' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Newtonsoft.Json.10.0.3' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package SkiaSharp.1.59.3. Adding package 'SkiaSharp.1.59.3' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'SkiaSharp.1.59.3' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package SkiaSharp.Svg.1.59.1. Adding package 'SkiaSharp.Svg.1.59.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'SkiaSharp.Svg.1.59.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package SkiaSharp.Views.1.59.3. Adding package 'SkiaSharp.Views.1.59.3' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'SkiaSharp.Views.1.59.3' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package SkiaSharp.Views.Forms.1.59.3. Adding package 'SkiaSharp.Views.Forms.1.59.3' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'SkiaSharp.Views.Forms.1.59.3' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.AppContext.4.3.0. Adding package 'System.AppContext.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.AppContext.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Collections.4.3.0. Adding package 'System.Collections.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Collections.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Collections.Concurrent.4.3.0. Adding package 'System.Collections.Concurrent.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Collections.Concurrent.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.ComponentModel.4.3.0. Adding package 'System.ComponentModel.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.ComponentModel.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.ComponentModel.TypeConverter.4.3.0. Adding package 'System.ComponentModel.TypeConverter.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.ComponentModel.TypeConverter.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Console.4.3.0. Adding package 'System.Console.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Console.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Diagnostics.Debug.4.3.0. Adding package 'System.Diagnostics.Debug.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Diagnostics.Debug.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Diagnostics.Tools.4.3.0. Adding package 'System.Diagnostics.Tools.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Diagnostics.Tools.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Diagnostics.Tracing.4.3.0. Adding package 'System.Diagnostics.Tracing.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Diagnostics.Tracing.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Globalization.4.3.0. Adding package 'System.Globalization.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Globalization.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Globalization.Calendars.4.3.0. Adding package 'System.Globalization.Calendars.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Globalization.Calendars.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.IO.4.3.0. Adding package 'System.IO.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.IO.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.IO.Compression.4.3.0. Adding package 'System.IO.Compression.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.IO.Compression.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.IO.Compression.ZipFile.4.3.0. Adding package 'System.IO.Compression.ZipFile.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.IO.Compression.ZipFile.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.IO.FileSystem.4.3.0. Adding package 'System.IO.FileSystem.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.IO.FileSystem.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.IO.FileSystem.Primitives.4.3.0. Adding package 'System.IO.FileSystem.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.IO.FileSystem.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Linq.4.3.0. Adding package 'System.Linq.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Linq.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Linq.Expressions.4.3.0. Adding package 'System.Linq.Expressions.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Linq.Expressions.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Net.Http.4.3.3. Adding package 'System.Net.Http.4.3.3' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Net.Http.4.3.3' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Net.Primitives.4.3.0. Adding package 'System.Net.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Net.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Net.Sockets.4.3.0. Adding package 'System.Net.Sockets.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Net.Sockets.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.ObjectModel.4.3.0. Adding package 'System.ObjectModel.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.ObjectModel.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Reflection.4.3.0. Adding package 'System.Reflection.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Reflection.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Reflection.Extensions.4.3.0. Adding package 'System.Reflection.Extensions.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Reflection.Extensions.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Reflection.Primitives.4.3.0. Adding package 'System.Reflection.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Reflection.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Resources.ResourceManager.4.3.0. Adding package 'System.Resources.ResourceManager.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Resources.ResourceManager.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Runtime.4.3.0. Adding package 'System.Runtime.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Runtime.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Runtime.Extensions.4.3.0. Adding package 'System.Runtime.Extensions.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Runtime.Extensions.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Runtime.Handles.4.3.0. Adding package 'System.Runtime.Handles.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Runtime.Handles.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Runtime.InteropServices.4.3.0. Adding package 'System.Runtime.InteropServices.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Runtime.InteropServices.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Runtime.InteropServices.RuntimeInformation.4.3.0. Adding package 'System.Runtime.InteropServices.RuntimeInformation.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Runtime.InteropServices.RuntimeInformation.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Runtime.Numerics.4.3.0. Adding package 'System.Runtime.Numerics.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Runtime.Numerics.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Runtime.Serialization.Formatters.4.3.0. Adding package 'System.Runtime.Serialization.Formatters.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Runtime.Serialization.Formatters.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Runtime.Serialization.Primitives.4.3.0. Adding package 'System.Runtime.Serialization.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Runtime.Serialization.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Security.Cryptography.Algorithms.4.3.1. Adding package 'System.Security.Cryptography.Algorithms.4.3.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Security.Cryptography.Algorithms.4.3.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Security.Cryptography.Encoding.4.3.0. Adding package 'System.Security.Cryptography.Encoding.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Security.Cryptography.Encoding.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Security.Cryptography.Primitives.4.3.0. Adding package 'System.Security.Cryptography.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Security.Cryptography.Primitives.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Security.Cryptography.X509Certificates.4.3.2. Adding package 'System.Security.Cryptography.X509Certificates.4.3.2' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Security.Cryptography.X509Certificates.4.3.2' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Text.Encoding.4.3.0. Adding package 'System.Text.Encoding.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Text.Encoding.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Text.Encoding.Extensions.4.3.0. Adding package 'System.Text.Encoding.Extensions.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Text.Encoding.Extensions.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Text.RegularExpressions.4.3.0. Adding package 'System.Text.RegularExpressions.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Text.RegularExpressions.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Threading.4.3.0. Adding package 'System.Threading.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Threading.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Threading.Tasks.4.3.0. Adding package 'System.Threading.Tasks.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Threading.Tasks.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Threading.Timer.4.3.0. Adding package 'System.Threading.Timer.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Threading.Timer.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.ValueTuple.4.4.0. Adding package 'System.ValueTuple.4.4.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.ValueTuple.4.4.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Xml.ReaderWriter.4.3.1. Adding package 'System.Xml.ReaderWriter.4.3.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Xml.ReaderWriter.4.3.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Xml.XDocument.4.3.0. Adding package 'System.Xml.XDocument.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Xml.XDocument.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package System.Xml.XmlDocument.4.3.0. Adding package 'System.Xml.XmlDocument.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'System.Xml.XmlDocument.4.3.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package WebP.Touch.1.0.7. Adding package 'WebP.Touch.1.0.7' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'WebP.Touch.1.0.7' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.FFImageLoading.2.3.4. Adding package 'Xamarin.FFImageLoading.2.3.4' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.FFImageLoading.2.3.4' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.FFImageLoading.Forms.2.3.4. Adding package 'Xamarin.FFImageLoading.Forms.2.3.4' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.FFImageLoading.Forms.2.3.4' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.FFImageLoading.Svg.2.3.4. GET https://api.nuget.org/v3-flatcontainer/xamarin.ffimageloading.svg/2.3.4/xamarin.ffimageloading.svg.2.3.4.nupkg OK https://api.nuget.org/v3-flatcontainer/xamarin.ffimageloading.svg.forms/2.3.4/xamarin.ffimageloading.svg.forms.2.3.4.nupkg 275ms Installing Xamarin.FFImageLoading.Svg.Forms 2.3.4. Adding package 'Xamarin.FFImageLoading.Svg.Forms.2.3.4' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.FFImageLoading.Svg.Forms.2.3.4' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.FFImageLoading.Transformations.2.3.4. GET https://api.nuget.org/v3-flatcontainer/xamarin.ffimageloading.transformations/2.3.4/xamarin.ffimageloading.transformations.2.3.4.nupkg OK https://api.nuget.org/v3-flatcontainer/xamarin.ffimageloading.svg/2.3.4/xamarin.ffimageloading.svg.2.3.4.nupkg 272ms Installing Xamarin.FFImageLoading.Svg 2.3.4. Adding package 'Xamarin.FFImageLoading.Svg.2.3.4' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.FFImageLoading.Svg.2.3.4' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.FFImageLoading.Svg.Forms.2.3.4. GET https://api.nuget.org/v3-flatcontainer/xamarin.ffimageloading.svg.forms/2.3.4/xamarin.ffimageloading.svg.forms.2.3.4.nupkg OK https://api.nuget.org/v3-flatcontainer/xamarin.ffimageloading.transformations/2.3.4/xamarin.ffimageloading.transformations.2.3.4.nupkg 266ms Installing Xamarin.FFImageLoading.Transformations 2.3.4. Adding package 'Xamarin.FFImageLoading.Transformations.2.3.4' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.FFImageLoading.Transformations.2.3.4' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Forms.2.5.0.122203. Adding package 'Xamarin.Forms.2.5.0.122203' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Forms.2.5.0.122203' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Arch.Core.Common.1.0.0. Adding package 'Xamarin.Android.Arch.Core.Common.1.0.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Arch.Core.Common.1.0.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Arch.Lifecycle.Common.1.0.1. Adding package 'Xamarin.Android.Arch.Lifecycle.Common.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Arch.Lifecycle.Common.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Arch.Lifecycle.Runtime.1.0.0. Adding package 'Xamarin.Android.Arch.Lifecycle.Runtime.1.0.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Arch.Lifecycle.Runtime.1.0.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.Animated.Vector.Drawable.26.1.0.1. Adding package 'Xamarin.Android.Support.Animated.Vector.Drawable.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.Animated.Vector.Drawable.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.Annotations.26.1.0.1. Adding package 'Xamarin.Android.Support.Annotations.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.Annotations.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.Compat.26.1.0.1. Adding package 'Xamarin.Android.Support.Compat.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.Compat.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.Core.UI.26.1.0.1. Adding package 'Xamarin.Android.Support.Core.UI.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.Core.UI.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.Core.Utils.26.1.0.1. Adding package 'Xamarin.Android.Support.Core.Utils.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.Core.Utils.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.Design.26.1.0.1. Adding package 'Xamarin.Android.Support.Design.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.Design.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.Exif.25.1.0. Adding package 'Xamarin.Android.Support.Exif.25.1.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.Exif.25.1.0' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.Fragment.26.1.0.1. Adding package 'Xamarin.Android.Support.Fragment.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.Fragment.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.Media.Compat.26.1.0.1. Adding package 'Xamarin.Android.Support.Media.Compat.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.Media.Compat.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.Transition.26.1.0.1. Adding package 'Xamarin.Android.Support.Transition.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.Transition.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.v4.26.1.0.1. Adding package 'Xamarin.Android.Support.v4.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.v4.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.v7.AppCompat.26.1.0.1. Adding package 'Xamarin.Android.Support.v7.AppCompat.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.v7.AppCompat.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.v7.CardView.26.1.0.1. Adding package 'Xamarin.Android.Support.v7.CardView.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.v7.CardView.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.v7.MediaRouter.26.1.0.1. Adding package 'Xamarin.Android.Support.v7.MediaRouter.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.v7.MediaRouter.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.v7.Palette.26.1.0.1. Adding package 'Xamarin.Android.Support.v7.Palette.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.v7.Palette.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.v7.RecyclerView.26.1.0.1. Adding package 'Xamarin.Android.Support.v7.RecyclerView.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.v7.RecyclerView.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Android.Support.Vector.Drawable.26.1.0.1. Adding package 'Xamarin.Android.Support.Vector.Drawable.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Android.Support.Vector.Drawable.26.1.0.1' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring NuGet package Xamarin.Build.Download.0.4.2. Adding package 'Xamarin.Build.Download.0.4.2' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Added package 'Xamarin.Build.Download.0.4.2' to folder '/Users/vsts/agent/2.134.2/work/1/s/packages' Restoring packages for /Users/vsts/agent/2.134.2/work/1/s/*/.csproj... Committing restore... Generating MSBuild file /Users/vsts/agent/2.134.2/work/1/s//obj/.csproj.nuget.g.props. Generating MSBuild file /Users/vsts/agent/2.134.2/work/1/s//obj/.csproj.nuget.g.targets. Writing lock file to disk. Path: /Users/vsts/agent/2.134.2/work/1/s//obj/project.assets.json Restore completed in 1.62 sec for /Users/vsts/agent/2.134.2/work/1/s//.csproj.
NuGet Config files used: /Users/vsts/.config/NuGet/NuGet.Config
Feeds used: /Users/vsts/.nuget/packages/ https://api.nuget.org/v3/index.json
Installed: 92 package(s) to packages.config projects
[command]/Library/Frameworks/Mono.framework/Versions/5_4_0/bin/msbuild /version /nologo [command]/Library/Frameworks/Mono.framework/Versions/5_4_0/bin/msbuild /Users/vsts/agent/2.134.2/work/1/s/Droid/***.Droid.csproj /t:PackageForAndroid /p:Configuration=Release Microsoft (R) Build Engine version 15.4.0.0 (master/f296e67b Thu Sep 21 19:38:16 EDT 2017) for Mono Copyright (C) Microsoft Corporation. All rights reserved.
Build started 6/7/2018 1:45:35 PM. Project "/Users/vsts/agent/2.134.2/work/1/s/Droid/.Droid.csproj" on node 1 (PackageForAndroid target(s)). _CreatePropertiesCache: Creating directory "obj/Release/". _SetLatestTargetFrameworkVersion: Found Android SDK. API levels: 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 Found Java SDK version 1.8.0. _ValidateAndroidPackageProperties: PackageName: com.microsoft. PrepareForBuild: Creating directory "bin/Release/". Project "/Users/vsts/agent/2.134.2/work/1/s/Droid/.Droid.csproj" (1) is building "/Users/vsts/agent/2.134.2/work/1/s//.csproj" (2:2) on node 1 (default targets). PrepareForBuild: Creating directory "bin/Release/netstandard2.0/". Creating directory "obj/Release/netstandard2.0/". /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(1783,5): warning : The referenced project '../../.Common/.Common.csproj' does not exist. [/Users/vsts/agent/2.134.2/work/1/s//*.csproj] _HandlePackageFileConflicts: Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Collections.NonGeneric.dll' and 'Reference:/Users/vsts/.nuget/packages/system.collections.nongeneric/4.3.0/ref/netstandard1.3/System.Collections.NonGeneric.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Collections.NonGeneric.dll' because AssemblyVersion '4.0.3.0' is greater than '4.0.1.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.ComponentModel.dll' and 'Reference:/Users/vsts/.nuget/packages/system.componentmodel/4.3.0/ref/netstandard1.0/System.ComponentModel.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.ComponentModel.dll' because AssemblyVersion '4.0.1.0' is greater than '4.0.0.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.ComponentModel.Primitives.dll' and 'Reference:/Users/vsts/.nuget/packages/system.componentmodel.primitives/4.3.0/ref/netstandard1.0/System.ComponentModel.Primitives.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.ComponentModel.Primitives.dll' because AssemblyVersion '4.1.2.0' is greater than '4.1.0.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll' and 'Reference:/Users/vsts/.nuget/packages/system.componentmodel.typeconverter/4.3.0/ref/netstandard1.5/System.ComponentModel.TypeConverter.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll' because AssemblyVersion '4.1.2.0' is greater than '4.1.0.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Dynamic.Runtime.dll' and 'Reference:/Users/vsts/.nuget/packages/system.dynamic.runtime/4.3.0/ref/netstandard1.3/System.Dynamic.Runtime.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Dynamic.Runtime.dll' because AssemblyVersion '4.0.11.0' is greater than '4.0.10.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Globalization.dll' and 'Reference:/Users/vsts/.nuget/packages/system.globalization/4.3.0/ref/netstandard1.3/System.Globalization.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Globalization.dll' because AssemblyVersion '4.0.11.0' is greater than '4.0.10.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.IO.dll' and 'Reference:/Users/vsts/.nuget/packages/system.io/4.3.0/ref/netstandard1.5/System.IO.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.IO.dll' because AssemblyVersion '4.1.2.0' is greater than '4.1.0.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Linq.Expressions.dll' and 'Reference:/Users/vsts/.nuget/packages/system.linq.expressions/4.3.0/ref/netstandard1.6/System.Linq.Expressions.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Linq.Expressions.dll' because AssemblyVersion '4.1.2.0' is greater than '4.1.0.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.ObjectModel.dll' and 'Reference:/Users/vsts/.nuget/packages/system.objectmodel/4.3.0/ref/netstandard1.3/System.ObjectModel.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.ObjectModel.dll' because AssemblyVersion '4.0.11.0' is greater than '4.0.10.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Reflection.dll' and 'Reference:/Users/vsts/.nuget/packages/system.reflection/4.3.0/ref/netstandard1.5/System.Reflection.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Reflection.dll' because AssemblyVersion '4.1.2.0' is greater than '4.1.0.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Reflection.Primitives.dll' and 'Reference:/Users/vsts/.nuget/packages/system.reflection.primitives/4.3.0/ref/netstandard1.0/System.Reflection.Primitives.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Reflection.Primitives.dll' because AssemblyVersion '4.0.1.0' is greater than '4.0.0.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Runtime.dll' and 'Reference:/Users/vsts/.nuget/packages/system.runtime/4.3.0/ref/netstandard1.5/System.Runtime.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Runtime.dll' because AssemblyVersion '4.1.2.0' is greater than '4.1.0.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll' and 'Reference:/Users/vsts/.nuget/packages/system.runtime.serialization.formatters/4.3.0/ref/netstandard1.3/System.Runtime.Serialization.Formatters.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll' because AssemblyVersion '4.0.2.0' is greater than '4.0.1.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll' and 'Reference:/Users/vsts/.nuget/packages/system.runtime.serialization.primitives/4.3.0/ref/netstandard1.3/System.Runtime.Serialization.Primitives.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll' because AssemblyVersion '4.1.3.0' is greater than '4.1.1.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Text.Encoding.dll' and 'Reference:/Users/vsts/.nuget/packages/system.text.encoding/4.3.0/ref/netstandard1.3/System.Text.Encoding.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Text.Encoding.dll' because AssemblyVersion '4.0.11.0' is greater than '4.0.10.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Threading.Tasks.dll' and 'Reference:/Users/vsts/.nuget/packages/system.threading.tasks/4.3.0/ref/netstandard1.3/System.Threading.Tasks.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Threading.Tasks.dll' because AssemblyVersion '4.0.11.0' is greater than '4.0.10.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Xml.ReaderWriter.dll' and 'Reference:/Users/vsts/.nuget/packages/system.xml.readerwriter/4.3.0/ref/netstandard1.3/System.Xml.ReaderWriter.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Xml.ReaderWriter.dll' because AssemblyVersion '4.1.1.0' is greater than '4.1.0.0'. Encountered conflict between 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Xml.XmlDocument.dll' and 'Reference:/Users/vsts/.nuget/packages/system.xml.xmldocument/4.3.0/ref/netstandard1.3/System.Xml.XmlDocument.dll'. Choosing 'Reference:/usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.0/build/netstandard2.0/ref/System.Xml.XmlDocument.dll' because AssemblyVersion '4.0.3.0' is greater than '4.0.1.0'. _CoreXamlG: Source: App.xaml Language: C# AssemblyName: * OutputFile obj/Release/netstandard2.0/.App.xaml.g.cs _CoreXamlG: Source: Pages/BagDetailsPage.xaml Language: C# AssemblyName: OutputFile obj/Release/netstandard2.0/.Pages.BagDetailsPage.xaml.g.cs _CoreXamlG: Source: Pages/FlightDetailsPage.xaml Language: C# AssemblyName: OutputFile obj/Release/netstandard2.0/.Pages.FlightDetailsPage.xaml.g.cs _CoreXamlG: Source: Pages/MainPage.xaml Language: C# AssemblyName: OutputFile obj/Release/netstandard2.0/.Pages.MainPage.xaml.g.cs _CoreXamlG: Source: Views/NavigationBar.xaml Language: C# AssemblyName: OutputFile obj/Release/netstandard2.0/.Views.NavigationBar.xaml.g.cs CoreCompile: /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/4.5/csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702,1705,1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE;RELEASE;NETSTANDARD2_0 /reference:/Users/vsts/.nuget/packages/autofac/4.6.2/lib/netstandard1.1/Autofac.dll /reference:/Users/vsts/.nuget/packages/microcharts.forms/0.7.1/lib/netstandard1.4/Microcharts.Forms.dll /reference:/Users/vsts/.nuget/packages/microsoft.appcenter.analytics/1.6.1/lib/netstandard1.0/Microsoft.AppCenter.Analytics.dll /reference:/Users/vsts/.nuget/packages/microsoft.appcenter.crashes/1.6.1/lib/netstandard1.0/Microsoft.AppCenter.Crashes.dll /reference:/Users/vsts/.nuget/packages/microsoft.appcenter.distribute/1.6.1/lib/netstandard1.0/Microsoft.AppCenter.Distribute.dll /reference:/Users/vsts/.nuget/packages/microsoft.appcenter/1.6.1/lib/netstandard1.0/Microsoft.AppCenter.dll /reference:/Users/vsts/.nuget/packages/microsoft.csharp/4.3.0/ref/netstandard1.0/Microsoft.CSharp.dll /reference:/usr/local/share/dotne... Pages/BagDetailsPage.xaml.cs(6,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] Pages/FlightDetailsPage.xaml.cs(6,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] Services/FlightService.cs(11,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/BagDetailsViewModel.cs(11,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/FlightDetailsViewModel.cs(11,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/MainViewModel.cs(15,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] Services/FlightService.cs(29,32): error CS0246: The type or namespace name 'Flight' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] Services/FlightService.cs(61,17): error CS0246: The type or namespace name 'Flight' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] Services/FlightService.cs(81,32): error CS0246: The type or namespace name 'BaggageItem' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/BagDetailsViewModel.cs(112,20): error CS0246: The type or namespace name 'BaggageItem' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/FlightDetailsViewModel.cs(328,37): error CS0246: The type or namespace name 'BaggageItem' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/FlightDetailsViewModel.cs(422,20): error CS0246: The type or namespace name 'Flight' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/MainViewModel.cs(404,21): error CS0246: The type or namespace name 'Flight' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] Done Building Project "/Users/vsts/agent/2.134.2/work/1/s//.csproj" (default targets) -- FAILED. Done Building Project "/Users/vsts/agent/2.134.2/work/1/s/Droid/.Droid.csproj" (PackageForAndroid target(s)) -- FAILED.
Build FAILED.
"/Users/vsts/agent/2.134.2/work/1/s/Droid/.Droid.csproj" (PackageForAndroid target) (1) -> "/Users/vsts/agent/2.134.2/work/1/s//.csproj" (default target) (2:2) -> (ResolveProjectReferences target) -> /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(1783,5): warning : The referenced project '../../.Common/.Common.csproj' does not exist. [/Users/vsts/agent/2.134.2/work/1/s//***.csproj]
"/Users/vsts/agent/2.134.2/work/1/s/Droid/.Droid.csproj" (PackageForAndroid target) (1) -> "/Users/vsts/agent/2.134.2/work/1/s//.csproj" (default target) (2:2) -> (CoreCompile target) -> Pages/BagDetailsPage.xaml.cs(6,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] Pages/FlightDetailsPage.xaml.cs(6,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] Services/FlightService.cs(11,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/BagDetailsViewModel.cs(11,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/FlightDetailsViewModel.cs(11,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/MainViewModel.cs(15,22): error CS0234: The type or namespace name 'Common' does not exist in the namespace '' (are you missing an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] Services/FlightService.cs(29,32): error CS0246: The type or namespace name 'Flight' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] Services/FlightService.cs(61,17): error CS0246: The type or namespace name 'Flight' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] Services/FlightService.cs(81,32): error CS0246: The type or namespace name 'BaggageItem' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/BagDetailsViewModel.cs(112,20): error CS0246: The type or namespace name 'BaggageItem' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/FlightDetailsViewModel.cs(328,37): error CS0246: The type or namespace name 'BaggageItem' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/FlightDetailsViewModel.cs(422,20): error CS0246: The type or namespace name 'Flight' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//.csproj] ViewModels/MainViewModel.cs(404,21): error CS0246: The type or namespace name 'Flight' could not be found (are you missing a using directive or an assembly reference?) [/Users/vsts/agent/2.134.2/work/1/s//***.csproj]
1 Warning(s)
13 Error(s)
Time Elapsed 00:00:06.36
See https://go.microsoft.com/fwlink/?LinkId=760847.
Cleaning any cached credential from repository: *** (Git)
For building in AppCenter, please post on their support channel: https://intercom.help/appcenter/build. In VSTS, there is a NuGet installer task that allows downloading and updating NuGet: https://docs.microsoft.com/en-us/vsts/pipelines/tasks/tool/nuget?view=vsts
Thanks, Madhuri
@madhurig Thank you. Will post on their support channel.
We have been unsuccessful so far in getting this task to work in our CI process. We are using this code installed onto our TFS server on prem. The build server is a Mac running VS for Mac, all updates applied. The Build definition has the Build Tool set to "MS Build (Visual Studio for Mac)". At the end of the process, the build fails with this error:
The first error that we get is this:
The same error is reported for all base .NET objects, including System.Object.
Our error is similar to the errors reported in these two issues, https://github.com/Microsoft/vsts-tasks/issues/3974 and https://github.com/Microsoft/vsts-tasks/issues/4425. We updated to the latest version of the code, but the problem persists. What can we do?