Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Earlier version can not build #9048

Closed
llzz19851985 opened this issue Aug 1, 2023 · 7 comments
Closed

Earlier version can not build #9048

llzz19851985 opened this issue Aug 1, 2023 · 7 comments
Labels
Area: xamarin-android Build Issues building the xamarin-android repo *itself*.

Comments

@llzz19851985
Copy link

llzz19851985 commented Aug 1, 2023

Description

I want to compile/build an earlier version (such as 9.1.7.0) steps by https://github.com/xamarin/xamarin-android/blob/xamarin-android-9.1.7.0/Documentation/building/windows-instructions.md, but when compiling, I found that the mono associated with the earlier version can no longer be downloaded. The download link (https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/ bin/Debug/bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip) is no longer accessible, how to deal with this exception? Thanks

build config versions:
visual studio  2017 15.9.55
xamarin android sdk:9.1.7.0
java JDK:1.8
build log
==================================
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 15.9.21+g9802d43bc3
版权所有(C) Microsoft Corporation。保留所有权利。

在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。
生成启动时间为 2023/8/1 15:45:23。
项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”在节点 1 上(Prepare 个目标)。
ValidateSolutionConfiguration:
  正在生成解决方案配置“Debug|AnyCPU”。
Prepare:
  git submodule update --init --recursive
项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(1)正在节点 1 上生成“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(2) (默认目标)。
PrepareForBuild:
  正在创建目录“..\..\bin\BuildDebug\”。
  正在创建目录“obj\Debug\”。
项目“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(2)正在节点 1 上生成“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\src\Xamarin.Android.Tools.AndroidSdk\
Xamarin.Android.Tools.AndroidSdk.csproj”(3:2) (默认目标)。
PrepareForBuild:
  正在创建目录“..\..\bin\Debug\”。
  正在创建目录“obj\Debug\”。
GenerateTargetFrameworkMonikerAttribute:
正在跳过目标“GenerateTargetFrameworkMonikerAttribute”,因为所有输出文件相对于输入文件而言都是最新的。
CoreCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG /highentropyva+ /reference:"C:\Program
   Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Core.dll" /reference:"C:\Pr
  ogram Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.dll" /reference:"C:\
  Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.Linq.dll" /debug+ /debug:full /keyfile:..\..\product.snk /optimize- /out:obj\Debug\Xamarin.Android.Tools.AndroidSdk.dll /rule
  set:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Static Analysis Tools\\Rule Sets\MinimumRecommendedRules.ruleset" /subsystemversion:6.00 /target:library /utf8output Properties\Assembl
  yInfo.cs AndroidTargetArch.cs OS.cs AndroidVersion.cs AndroidVersions.cs AndroidSdkInfo.cs JdkInfo.cs Sdks\AndroidSdkBase.cs Sdks\AndroidSdkUnix.cs Sdks\AndroidSdkWindows.cs ProcessUtils.cs AndroidAppManifest.cs File
  Util.cs "C:\Users\vinno\AppData\Local\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.cs"
  对来自后列目录的编译器使用共享编译: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn
CopyFilesToOutputDirectory:
  正在将文件从“obj\Debug\Xamarin.Android.Tools.AndroidSdk.dll”复制到“..\..\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll”。
  Xamarin.Android.Tools.AndroidSdk -> F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll
  正在将文件从“obj\Debug\Xamarin.Android.Tools.AndroidSdk.pdb”复制到“..\..\bin\Debug\Xamarin.Android.Tools.AndroidSdk.pdb”。
已完成生成项目“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\src\Xamarin.Android.Tools.AndroidSdk\Xamarin.Android.Tools.AndroidSdk.csproj”(默认目标)的操作。

_HandlePackageFileConflicts:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Reference:Microso
ft.Build”和“Platform:Microsoft.Build.dll”之间存在冲突。  NETSDK1033: 选择“Reference:Microsoft.Build”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.cs
proj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Reference:Microso
ft.Build.Engine”和“Platform:Microsoft.Build.Engine.dll”之间存在冲突。  NETSDK1033: 选择“Reference:Microsoft.Build.Engine”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-t
asks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Reference:Microso
ft.Build.Framework”和“Platform:Microsoft.Build.Framework.dll”之间存在冲突。  NETSDK1033: 选择“Reference:Microsoft.Build.Framework”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\
xa-prep-tasks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Platform:Microsof
t.Build.dll”和“Reference:Microsoft.Build”之间存在冲突。  NETSDK1033: 选择“Reference:Microsoft.Build”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.cs
proj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Platform:Microsof
t.Build.Engine.dll”和“Reference:Microsoft.Build.Engine”之间存在冲突。  NETSDK1033: 选择“Reference:Microsoft.Build.Engine”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-t
asks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Platform:Microsof
t.Build.Framework.dll”和“Reference:Microsoft.Build.Framework”之间存在冲突。  NETSDK1033: 选择“Reference:Microsoft.Build.Framework”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\
xa-prep-tasks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3277: 发现“System.IO.Compression”的不同版本间存在无法解决的冲突。当日志详细信息设置为“详细”时,这些引用冲突将会在生成日志
中列出。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj]
GenerateTargetFrameworkMonikerAttribute:
正在跳过目标“GenerateTargetFrameworkMonikerAttribute”,因为所有输出文件相对于输入文件而言都是最新的。
CoreCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG /highentropyva+ /reference:"C:\Program
   Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.dll" /reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Engine.dll" /
  reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Framework.dll" /reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bi
  n\Microsoft.Build.Tasks.Core.dll" /reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Utilities.Core.dll" /reference:"C:\Program Files (x86)\Reference Assembl
  ies\Microsoft\Framework\.NETFramework\v4.6.2\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Core.dll" /reference:"C:\Program Files (x86)\Referenc
  e Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.IO.Compression.dll" /reference:"C:\Program Fil
  es (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.IO.Compression.FileSystem.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Net
  .Http.dll" /reference:F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framewo
  rk\.NETFramework\v4.6.2\Facades\System.Collections.Concurrent.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Collections.dll" /reference:"C:\Progr
  am Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ComponentModel.Annotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4
  .6.2\Facades\System.ComponentModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ComponentModel.EventBasedAsync.dll" /reference:"C:\Program Files
   (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Diagnostics.Contracts.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\
  System.Diagnostics.Debug.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Diagnostics.Tools.dll" /reference:"C:\Program Files (x86)\Reference Assemb
  lies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Diagnostics.Tracing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Dynamic.Runtime.dl
  l" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Globalization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFr
  amework\v4.6.2\Facades\System.IO.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\
  Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Linq.Expressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Linq.Parallel.dll" /refere
  nce:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Linq.Queryable.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v
  4.6.2\Facades\System.Net.NetworkInformation.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Net.Primitives.dll" /reference:"C:\Program Files (x86)\
  Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Net.Requests.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Net.WebHe
  aderCollection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ObjectModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\F
  ramework\.NETFramework\v4.6.2\Facades\System.Reflection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Reflection.Emit.dll" /reference:"C:\Program
   Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Reflection.Emit.ILGeneration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4
  .6.2\Facades\System.Reflection.Emit.Lightweight.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Reflection.Extensions.dll" /reference:"C:\Program F
  iles (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Reflection.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Faca
  des\System.Resources.ResourceManager.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Asse
  mblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.Handles.d
  ll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.InteropServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Frame
  work\.NETFramework\v4.6.2\Facades\System.Runtime.InteropServices.WindowsRuntime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.Numerics.dl
  l" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.Json.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Fra
  mework\.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.X
  ml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Security.Principal.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framew
  ork\.NETFramework\v4.6.2\Facades\System.ServiceModel.Duplex.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ServiceModel.Http.dll" /reference:"C:\P
  rogram Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ServiceModel.NetTcp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.
  2\Facades\System.ServiceModel.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ServiceModel.Security.dll" /reference:"C:\Program Files (x
  86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Text.Encoding.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Text
  .Encoding.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Text.RegularExpressions.dll" /reference:"C:\Program Files (x86)\Reference Asse
  mblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Threading.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Threading.Tasks.dll" /refe
  rence:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Threading.Tasks.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NE
  TFramework\v4.6.2\Facades\System.Threading.Timer.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files
   (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Xml.XDocument.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.X
  ml.XmlSerializer.dll" /debug+ /debug:full /optimize- /out:obj\Debug\xa-prep-tasks.dll /ruleset:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Static Analysis Tools\\Rule Sets\MinimumReco
  mmendedRules.ruleset" /subsystemversion:6.00 /target:library /utf8output Properties\AssemblyInfo.cs Xamarin.Android.BuildTools.PrepTasks\CreateThirdPartyNotices.cs Xamarin.Android.BuildTools.PrepTasks\DownloadUri.cs
  Xamarin.Android.BuildTools.PrepTasks\Git.cs Xamarin.Android.BuildTools.PrepTasks\GitBranch.cs Xamarin.Android.BuildTools.PrepTasks\GitCommitHash.cs Xamarin.Android.BuildTools.PrepTasks\GitCommitTime.cs Xamarin.Androi
  d.BuildTools.PrepTasks\HashFileContents.cs Xamarin.Android.BuildTools.PrepTasks\JdkInfo.cs Xamarin.Android.BuildTools.PrepTasks\PathToolTask.cs Xamarin.Android.BuildTools.PrepTasks\SetEnvironmentVariable.cs Xamarin.A
  ndroid.BuildTools.PrepTasks\SystemUnzip.cs Xamarin.Android.BuildTools.PrepTasks\Which.cs Xamarin.Android.BuildTools.PrepTasks\GitBlame.cs Xamarin.Android.BuildTools.PrepTasks\GitCommitsInRange.cs Xamarin.Android.Buil
  dTools.PrepTasks\ReplaceFileContents.cs Xamarin.Android.BuildTools.PrepTasks\PrepareInstall.cs Xamarin.Android.BuildTools.PrepTasks\AcceptAndroidSdkLicenses.cs Xamarin.Android.BuildTools.PrepTasks\Sleep.cs Xamarin.An
  droid.BuildTools.PrepTasks\ProcessPlotInput.cs Xamarin.Android.BuildTools.PrepTasks\ProcessLogcatTiming.cs Xamarin.Android.BuildTools.PrepTasks\CreateFilePaths.cs "C:\Users\vinno\AppData\Local\Temp\.NETFramework,Vers
  ion=v4.6.2.AssemblyAttributes.cs"
  对来自后列目录的编译器使用共享编译: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn
_CopyFilesMarkedCopyLocal:
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Framework.dll”复制到“..\..\bin\BuildDebug\Microsoft.Build.Framework.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.dll”复制到“..\..\bin\BuildDebug\Microsoft.Build.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Engine.dll”复制到“..\..\bin\BuildDebug\Microsoft.Build.Engine.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Utilities.Core.dll”复制到“..\..\bin\BuildDebug\Microsoft.Build.Utilities.Core.dll”。
  正在将文件从“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll”复制到“..\..\bin\BuildDebug\Xamarin.Android.Tools.AndroidSdk.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\System.Threading.Tasks.Dataflow.dll”复制到“..\..\bin\BuildDebug\System.Threading.Tasks.Dataflow.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\System.Runtime.InteropServices.RuntimeInformation.dll”复制到“..\..\bin\BuildDebug\System.Runtime.InteropServices.RuntimeInformatio
  n.dll”。
  正在创建目录“..\..\bin\BuildDebug\cs”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\System.Collections.Immutable.dll”复制到“..\..\bin\BuildDebug\System.Collections.Immutable.dll”。
  正在创建目录“..\..\bin\BuildDebug\de”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Tasks.Core.dll”复制到“..\..\bin\BuildDebug\Microsoft.Build.Tasks.Core.dll”。
  正在创建目录“..\..\bin\BuildDebug\es”。
  正在创建目录“..\..\bin\BuildDebug\en”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\en\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\en\Microsoft.Build.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\de\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\de\Microsoft.Build.resources.dll”。
  正在将文件从“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.pdb”复制到“..\..\bin\BuildDebug\Xamarin.Android.Tools.AndroidSdk.pdb”。
  正在创建目录“..\..\bin\BuildDebug\it”。
  正在创建目录“..\..\bin\BuildDebug\ja”。
  正在创建目录“..\..\bin\BuildDebug\fr”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\es\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\es\Microsoft.Build.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ja\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\ja\Microsoft.Build.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\cs\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\cs\Microsoft.Build.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\it\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\it\Microsoft.Build.resources.dll”。
  正在创建目录“..\..\bin\BuildDebug\ko”。
  正在创建目录“..\..\bin\BuildDebug\pt-BR”。
  正在创建目录“..\..\bin\BuildDebug\pl”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pt-BR\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\pt-BR\Microsoft.Build.resources.dll”。
  正在创建目录“..\..\bin\BuildDebug\ru”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\fr\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\fr\Microsoft.Build.resources.dll”。
  正在创建目录“..\..\bin\BuildDebug\zh-Hans”。
  正在创建目录“..\..\bin\BuildDebug\tr”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ko\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\ko\Microsoft.Build.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pl\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\pl\Microsoft.Build.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\cs\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\cs\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\de\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\de\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ru\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\ru\Microsoft.Build.resources.dll”。
  正在创建目录“..\..\bin\BuildDebug\zh-Hant”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hans\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\zh-Hans\Microsoft.Build.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\tr\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\tr\Microsoft.Build.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hant\Microsoft.Build.resources.dll”复制到“..\..\bin\BuildDebug\zh-Hant\Microsoft.Build.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\it\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\it\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\es\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\es\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pl\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\pl\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pt-BR\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\pt-BR\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\en\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\en\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ru\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\ru\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\tr\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\tr\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\fr\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\fr\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hans\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\zh-Hans\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\cs\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\cs\Microsoft.Build.Utilities.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ja\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\ja\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ko\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\ko\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\es\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\es\Microsoft.Build.Utilities.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\fr\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\fr\Microsoft.Build.Utilities.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\en\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\en\Microsoft.Build.Utilities.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ko\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\ko\Microsoft.Build.Utilities.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ja\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\ja\Microsoft.Build.Utilities.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\de\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\de\Microsoft.Build.Utilities.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hant\Microsoft.Build.Tasks.Core.resources.dll”复制到“..\..\bin\BuildDebug\zh-Hant\Microsoft.Build.Tasks.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\it\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\it\Microsoft.Build.Utilities.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pl\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\pl\Microsoft.Build.Utilities.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\tr\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\tr\Microsoft.Build.Utilities.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hans\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\zh-Hans\Microsoft.Build.Utilities.Core.resources.
  dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ru\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\ru\Microsoft.Build.Utilities.Core.resources.dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hant\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\zh-Hant\Microsoft.Build.Utilities.Core.resources.
  dll”。
  正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pt-BR\Microsoft.Build.Utilities.Core.resources.dll”复制到“..\..\bin\BuildDebug\pt-BR\Microsoft.Build.Utilities.Core.resources.dll”
  。
  正在创建“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\obj\Debug\xa-prep-tasks.csproj.CopyComplete”,因为已指定“AlwaysCreate”。
CopyFilesToOutputDirectory:
  正在将文件从“obj\Debug\xa-prep-tasks.dll”复制到“..\..\bin\BuildDebug\xa-prep-tasks.dll”。
  xa-prep-tasks -> F:\workspace\android\XA917\xamarin-android\bin\BuildDebug\xa-prep-tasks.dll
  正在将文件从“obj\Debug\xa-prep-tasks.pdb”复制到“..\..\bin\BuildDebug\xa-prep-tasks.pdb”。
GetXAVersionInfo:
  D:\Program Files\Git\cmd\git.EXE blame "F:\workspace\android\XA917\xamarin-android\Configuration.props"
  D:\Program Files\Git\cmd\git.EXE log fc3c759dbe..HEAD --oneline
  D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
  D:\Program Files\Git\cmd\git.EXE rev-parse --abbrev-ref HEAD
_CreateVersion:
  正在创建目录“F:\workspace\android\XA917\xamarin-android\\bin\Debug\lib\xamarin.android\xbuild\Xamarin\Android”。
已完成生成项目“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(默认目标)的操作。

项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(1)正在节点 1 上生成“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(4) (默认目标)。
PrepareForBuild:
  正在创建目录“obj\Debug\”。
_GetHashes:
  D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
  D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
  D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
_DownloadBundle:
  Downloading `https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/bin/Debug/bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip` to `C:\Users\vinno\android-archives\.bundle
  -v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip.download`.
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : Unable to download URL `https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/bin/Debug/bu
ndle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip` to `C:\Users\vinno\android-archives\bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip`: 响应状态代码不指示成功: 404 (The s
pecified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]
  上一错误已转换为警告,因为调用任务时指定了 ContinueOnError=true。
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : 响应状态代码不指示成功: 404 (The specified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\bui
ld-tools\download-bundle\download-bundle.csproj]
  上一错误已转换为警告,因为调用任务时指定了 ContinueOnError=true。
  继续生成,因为任务“DownloadUri”的“ContinueOnError”设置为“True”。
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(29,5): error : The Windows build depends on a cached mono bundle, that may not be available yet. Try going back a few commi
ts (with git reset) to download a different bundle. [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]
已完成生成项目“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(默认目标)的操作 - 失败。

已完成生成项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 个目标)的操作 - 失败。


生成失败。

“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 目标) (1) ->
“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(默认目标) (2) ->
(ResolveAssemblyReferences 目标) ->
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3277: 发现“System.IO.Compression”的不同版本间存在无法解决的冲突。当日志详细信息设置为“详细”时,这些引用冲突将会在生成
日志中列出。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj]


“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 目标) (1) ->
“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(默认目标) (4) ->
(_DownloadBundle 目标) ->
  F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : Unable to download URL `https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/bin/Debug/
bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip` to `C:\Users\vinno\android-archives\bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip`: 响应状态代码不指示成功: 404 (The
 specified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]
  F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : 响应状态代码不指示成功: 404 (The specified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\b
uild-tools\download-bundle\download-bundle.csproj]


“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 目标) (1) ->
“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(默认目标) (4) ->
(_DownloadBundle 目标) ->
  F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(29,5): error : The Windows build depends on a cached mono bundle, that may not be available yet. Try going back a few com
mits (with git reset) to download a different bundle. [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]

    3 个警告
    1 个错误

已用时间 00:00:17.97

Reproduction Steps

steps by https://github.com/xamarin/xamarin-android/blob/xamarin-android-9.1.7.0/Documentation/building/windows-instructions.md

Expected behavior

can build successful

Actual behavior

can not build

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

@ghost
Copy link

ghost commented Aug 1, 2023

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

I want to compile/build an earlier version (such as 9.1.7.0) steps by https://github.com/xamarin/xamarin-android/blob/xamarin-android-9.1.7.0/Documentation/building/windows-instructions.md, but when compiling, I found that the mono associated with the earlier version can no longer be downloaded. The download link (https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/ bin/Debug/bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip) is no longer accessible, how to deal with this exception? Thanks

build config versions:
visual studio 2017 15.9.55
xamarin android sdk:9.1.7.0
java JDK:1.8
build log

用于 .NET Framework 的 Microsoft (R) 生成引擎版本 15.9.21+g9802d43bc3
版权所有(C) Microsoft Corporation。保留所有权利。

在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。
生成启动时间为 2023/8/1 15:45:23。
项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”在节点 1 上(Prepare 个目标)。
ValidateSolutionConfiguration:
正在生成解决方案配置“Debug|AnyCPU”。
Prepare:
git submodule update --init --recursive
项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(1)正在节点 1 上生成“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(2) (默认目标)。
PrepareForBuild:
正在创建目录“....\bin\BuildDebug\”。
正在创建目录“obj\Debug\”。
项目“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(2)正在节点 1 上生成“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\src\Xamarin.Android.Tools.AndroidSdk
Xamarin.Android.Tools.AndroidSdk.csproj”(3:2) (默认目标)。
PrepareForBuild:
正在创建目录“....\bin\Debug\”。
正在创建目录“obj\Debug\”。
GenerateTargetFrameworkMonikerAttribute:
正在跳过目标“GenerateTargetFrameworkMonikerAttribute”,因为所有输出文件相对于输入文件而言都是最新的。
CoreCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG /highentropyva+ /reference:"C:\Program
Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Core.dll" /reference:"C:\Pr
ogram Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Xml.dll" /reference:"C:
Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Xml.Linq.dll" /debug+ /debug:full /keyfile:....\product.snk /optimize- /out:obj\Debug\Xamarin.Android.Tools.AndroidSdk.dll /rule
set:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Static Analysis Tools\Rule Sets\MinimumRecommendedRules.ruleset" /subsystemversion:6.00 /target:library /utf8output Properties\Assembl
yInfo.cs AndroidTargetArch.cs OS.cs AndroidVersion.cs AndroidVersions.cs AndroidSdkInfo.cs JdkInfo.cs Sdks\AndroidSdkBase.cs Sdks\AndroidSdkUnix.cs Sdks\AndroidSdkWindows.cs ProcessUtils.cs AndroidAppManifest.cs File
Util.cs "C:\Users\vinno\AppData\Local\Temp.NETFramework,Version=v4.5.AssemblyAttributes.cs"
对来自后列目录的编译器使用共享编译: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn
CopyFilesToOutputDirectory:
正在将文件从“obj\Debug\Xamarin.Android.Tools.AndroidSdk.dll”复制到“....\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll”。
Xamarin.Android.Tools.AndroidSdk -> F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll
正在将文件从“obj\Debug\Xamarin.Android.Tools.AndroidSdk.pdb”复制到“....\bin\Debug\Xamarin.Android.Tools.AndroidSdk.pdb”。
已完成生成项目“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\src\Xamarin.Android.Tools.AndroidSdk\Xamarin.Android.Tools.AndroidSdk.csproj”(默认目标)的操作。

_HandlePackageFileConflicts:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Reference:Microso
ft.Build”和“Platform:Microsoft.Build.dll”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.cs
proj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Reference:Microso
ft.Build.Engine”和“Platform:Microsoft.Build.Engine.dll”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build.Engine”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-t
asks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Reference:Microso
ft.Build.Framework”和“Platform:Microsoft.Build.Framework.dll”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build.Framework”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools
xa-prep-tasks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Platform:Microsof
t.Build.dll”和“Reference:Microsoft.Build”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.cs
proj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Platform:Microsof
t.Build.Engine.dll”和“Reference:Microsoft.Build.Engine”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build.Engine”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-t
asks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Platform:Microsof
t.Build.Framework.dll”和“Reference:Microsoft.Build.Framework”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build.Framework”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools
xa-prep-tasks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3277: 发现“System.IO.Compression”的不同版本间存在无法解决的冲突。当日志详细信息设置为“详细”时,这些引用冲突将会在生成日志
中列出。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj]
GenerateTargetFrameworkMonikerAttribute:
正在跳过目标“GenerateTargetFrameworkMonikerAttribute”,因为所有输出文件相对于输入文件而言都是最新的。
CoreCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG /highentropyva+ /reference:"C:\Program
Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.dll" /reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Engine.dll" /
reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Framework.dll" /reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bi
n\Microsoft.Build.Tasks.Core.dll" /reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Utilities.Core.dll" /reference:"C:\Program Files (x86)\Reference Assembl
ies\Microsoft\Framework.NETFramework\v4.6.2\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\System.Core.dll" /reference:"C:\Program Files (x86)\Referenc
e Assemblies\Microsoft\Framework.NETFramework\v4.6.2\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\System.IO.Compression.dll" /reference:"C:\Program Fil
es (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\System.IO.Compression.FileSystem.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\System.Net
.Http.dll" /reference:F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framewo
rk.NETFramework\v4.6.2\Facades\System.Collections.Concurrent.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Collections.dll" /reference:"C:\Progr
am Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ComponentModel.Annotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4
.6.2\Facades\System.ComponentModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ComponentModel.EventBasedAsync.dll" /reference:"C:\Program Files
(x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Diagnostics.Contracts.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades
System.Diagnostics.Debug.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Diagnostics.Tools.dll" /reference:"C:\Program Files (x86)\Reference Assemb
lies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Diagnostics.Tracing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Dynamic.Runtime.dl
l" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Globalization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFr
amework\v4.6.2\Facades\System.IO.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies
Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Linq.Expressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Linq.Parallel.dll" /refere
nce:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Linq.Queryable.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v
4.6.2\Facades\System.Net.NetworkInformation.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Net.Primitives.dll" /reference:"C:\Program Files (x86)
Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Net.Requests.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Net.WebHe
aderCollection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ObjectModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\F
ramework.NETFramework\v4.6.2\Facades\System.Reflection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Reflection.Emit.dll" /reference:"C:\Program
Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Reflection.Emit.ILGeneration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4
.6.2\Facades\System.Reflection.Emit.Lightweight.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Reflection.Extensions.dll" /reference:"C:\Program F
iles (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Reflection.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Faca
des\System.Resources.ResourceManager.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Asse
mblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.Handles.d
ll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.InteropServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Frame
work.NETFramework\v4.6.2\Facades\System.Runtime.InteropServices.WindowsRuntime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.Numerics.dl
l" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.Json.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Fra
mework.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.X
ml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Security.Principal.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framew
ork.NETFramework\v4.6.2\Facades\System.ServiceModel.Duplex.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ServiceModel.Http.dll" /reference:"C:\P
rogram Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ServiceModel.NetTcp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.
2\Facades\System.ServiceModel.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ServiceModel.Security.dll" /reference:"C:\Program Files (x
86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Text.Encoding.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Text
.Encoding.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Text.RegularExpressions.dll" /reference:"C:\Program Files (x86)\Reference Asse
mblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Threading.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Threading.Tasks.dll" /refe
rence:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Threading.Tasks.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NE
TFramework\v4.6.2\Facades\System.Threading.Timer.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files
(x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Xml.XDocument.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.X
ml.XmlSerializer.dll" /debug+ /debug:full /optimize- /out:obj\Debug\xa-prep-tasks.dll /ruleset:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Static Analysis Tools\Rule Sets\MinimumReco
mmendedRules.ruleset" /subsystemversion:6.00 /target:library /utf8output Properties\AssemblyInfo.cs Xamarin.Android.BuildTools.PrepTasks\CreateThirdPartyNotices.cs Xamarin.Android.BuildTools.PrepTasks\DownloadUri.cs
Xamarin.Android.BuildTools.PrepTasks\Git.cs Xamarin.Android.BuildTools.PrepTasks\GitBranch.cs Xamarin.Android.BuildTools.PrepTasks\GitCommitHash.cs Xamarin.Android.BuildTools.PrepTasks\GitCommitTime.cs Xamarin.Androi
d.BuildTools.PrepTasks\HashFileContents.cs Xamarin.Android.BuildTools.PrepTasks\JdkInfo.cs Xamarin.Android.BuildTools.PrepTasks\PathToolTask.cs Xamarin.Android.BuildTools.PrepTasks\SetEnvironmentVariable.cs Xamarin.A
ndroid.BuildTools.PrepTasks\SystemUnzip.cs Xamarin.Android.BuildTools.PrepTasks\Which.cs Xamarin.Android.BuildTools.PrepTasks\GitBlame.cs Xamarin.Android.BuildTools.PrepTasks\GitCommitsInRange.cs Xamarin.Android.Buil
dTools.PrepTasks\ReplaceFileContents.cs Xamarin.Android.BuildTools.PrepTasks\PrepareInstall.cs Xamarin.Android.BuildTools.PrepTasks\AcceptAndroidSdkLicenses.cs Xamarin.Android.BuildTools.PrepTasks\Sleep.cs Xamarin.An
droid.BuildTools.PrepTasks\ProcessPlotInput.cs Xamarin.Android.BuildTools.PrepTasks\ProcessLogcatTiming.cs Xamarin.Android.BuildTools.PrepTasks\CreateFilePaths.cs "C:\Users\vinno\AppData\Local\Temp.NETFramework,Vers
ion=v4.6.2.AssemblyAttributes.cs"
对来自后列目录的编译器使用共享编译: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn
_CopyFilesMarkedCopyLocal:
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Framework.dll”复制到“....\bin\BuildDebug\Microsoft.Build.Framework.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.dll”复制到“....\bin\BuildDebug\Microsoft.Build.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Engine.dll”复制到“....\bin\BuildDebug\Microsoft.Build.Engine.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Utilities.Core.dll”复制到“....\bin\BuildDebug\Microsoft.Build.Utilities.Core.dll”。
正在将文件从“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll”复制到“....\bin\BuildDebug\Xamarin.Android.Tools.AndroidSdk.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\System.Threading.Tasks.Dataflow.dll”复制到“....\bin\BuildDebug\System.Threading.Tasks.Dataflow.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\System.Runtime.InteropServices.RuntimeInformation.dll”复制到“....\bin\BuildDebug\System.Runtime.InteropServices.RuntimeInformatio
n.dll”。
正在创建目录“....\bin\BuildDebug\cs”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\System.Collections.Immutable.dll”复制到“....\bin\BuildDebug\System.Collections.Immutable.dll”。
正在创建目录“....\bin\BuildDebug\de”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Tasks.Core.dll”复制到“....\bin\BuildDebug\Microsoft.Build.Tasks.Core.dll”。
正在创建目录“....\bin\BuildDebug\es”。
正在创建目录“....\bin\BuildDebug\en”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\en\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\en\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\de\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\de\Microsoft.Build.resources.dll”。
正在将文件从“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.pdb”复制到“....\bin\BuildDebug\Xamarin.Android.Tools.AndroidSdk.pdb”。
正在创建目录“....\bin\BuildDebug\it”。
正在创建目录“....\bin\BuildDebug\ja”。
正在创建目录“....\bin\BuildDebug\fr”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\es\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\es\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ja\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\ja\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\cs\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\cs\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\it\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\it\Microsoft.Build.resources.dll”。
正在创建目录“....\bin\BuildDebug\ko”。
正在创建目录“....\bin\BuildDebug\pt-BR”。
正在创建目录“....\bin\BuildDebug\pl”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pt-BR\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\pt-BR\Microsoft.Build.resources.dll”。
正在创建目录“....\bin\BuildDebug\ru”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\fr\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\fr\Microsoft.Build.resources.dll”。
正在创建目录“....\bin\BuildDebug\zh-Hans”。
正在创建目录“....\bin\BuildDebug\tr”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ko\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\ko\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pl\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\pl\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\cs\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\cs\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\de\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\de\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ru\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\ru\Microsoft.Build.resources.dll”。
正在创建目录“....\bin\BuildDebug\zh-Hant”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hans\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\zh-Hans\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\tr\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\tr\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hant\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\zh-Hant\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\it\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\it\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\es\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\es\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pl\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\pl\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pt-BR\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\pt-BR\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\en\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\en\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ru\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\ru\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\tr\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\tr\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\fr\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\fr\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hans\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\zh-Hans\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\cs\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\cs\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ja\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\ja\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ko\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\ko\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\es\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\es\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\fr\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\fr\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\en\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\en\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ko\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\ko\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ja\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\ja\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\de\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\de\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hant\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\zh-Hant\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\it\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\it\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pl\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\pl\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\tr\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\tr\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hans\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\zh-Hans\Microsoft.Build.Utilities.Core.resources.
dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ru\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\ru\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hant\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\zh-Hant\Microsoft.Build.Utilities.Core.resources.
dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pt-BR\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\pt-BR\Microsoft.Build.Utilities.Core.resources.dll”

正在创建“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\obj\Debug\xa-prep-tasks.csproj.CopyComplete”,因为已指定“AlwaysCreate”。
CopyFilesToOutputDirectory:
正在将文件从“obj\Debug\xa-prep-tasks.dll”复制到“....\bin\BuildDebug\xa-prep-tasks.dll”。
xa-prep-tasks -> F:\workspace\android\XA917\xamarin-android\bin\BuildDebug\xa-prep-tasks.dll
正在将文件从“obj\Debug\xa-prep-tasks.pdb”复制到“....\bin\BuildDebug\xa-prep-tasks.pdb”。
GetXAVersionInfo:
D:\Program Files\Git\cmd\git.EXE blame "F:\workspace\android\XA917\xamarin-android\Configuration.props"
D:\Program Files\Git\cmd\git.EXE log fc3c759..HEAD --oneline
D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
D:\Program Files\Git\cmd\git.EXE rev-parse --abbrev-ref HEAD
_CreateVersion:
正在创建目录“F:\workspace\android\XA917\xamarin-android\bin\Debug\lib\xamarin.android\xbuild\Xamarin\Android”。
已完成生成项目“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(默认目标)的操作。

项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(1)正在节点 1 上生成“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(4) (默认目标)。
PrepareForBuild:
正在创建目录“obj\Debug\”。
_GetHashes:
D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
_DownloadBundle:
Downloading https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/bin/Debug/bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip to C:\Users\vinno\android-archives\.bundle -v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip.download.
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : Unable to download URL https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/bin/Debug/bu ndle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip to C:\Users\vinno\android-archives\bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip: 响应状态代码不指示成功: 404 (The s
pecified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]
上一错误已转换为警告,因为调用任务时指定了 ContinueOnError=true。
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : 响应状态代码不指示成功: 404 (The specified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\bui
ld-tools\download-bundle\download-bundle.csproj]
上一错误已转换为警告,因为调用任务时指定了 ContinueOnError=true。
继续生成,因为任务“DownloadUri”的“ContinueOnError”设置为“True”。
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(29,5): error : The Windows build depends on a cached mono bundle, that may not be available yet. Try going back a few commi
ts (with git reset) to download a different bundle. [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]
已完成生成项目“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(默认目标)的操作 - 失败。

已完成生成项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 个目标)的操作 - 失败。

生成失败。

“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 目标) (1) ->
“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(默认目标) (2) ->
(ResolveAssemblyReferences 目标) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3277: 发现“System.IO.Compression”的不同版本间存在无法解决的冲突。当日志详细信息设置为“详细”时,这些引用冲突将会在生成
日志中列出。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj]

“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 目标) (1) ->
“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(默认目标) (4) ->
(_DownloadBundle 目标) ->
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : Unable to download URL https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/bin/Debug/ bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip to C:\Users\vinno\android-archives\bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip: 响应状态代码不指示成功: 404 (The
specified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : 响应状态代码不指示成功: 404 (The specified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\b
uild-tools\download-bundle\download-bundle.csproj]

“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 目标) (1) ->
“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(默认目标) (4) ->
(_DownloadBundle 目标) ->
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(29,5): error : The Windows build depends on a cached mono bundle, that may not be available yet. Try going back a few com
mits (with git reset) to download a different bundle. [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]

3 个警告
1 个错误

已用时间 00:00:17.97

Reproduction Steps

steps by https://github.com/xamarin/xamarin-android/blob/xamarin-android-9.1.7.0/Documentation/building/windows-instructions.md

Expected behavior

can build successful

Actual behavior

can not build

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Author: llzz19851985
Assignees: -
Labels:

area-Infrastructure-libraries

Milestone: -

@ghost
Copy link

ghost commented Aug 1, 2023

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

I want to compile/build an earlier version (such as 9.1.7.0) steps by https://github.com/xamarin/xamarin-android/blob/xamarin-android-9.1.7.0/Documentation/building/windows-instructions.md, but when compiling, I found that the mono associated with the earlier version can no longer be downloaded. The download link (https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/ bin/Debug/bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip) is no longer accessible, how to deal with this exception? Thanks

build config versions:
visual studio 2017 15.9.55
xamarin android sdk:9.1.7.0
java JDK:1.8
build log

用于 .NET Framework 的 Microsoft (R) 生成引擎版本 15.9.21+g9802d43bc3
版权所有(C) Microsoft Corporation。保留所有权利。

在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。
生成启动时间为 2023/8/1 15:45:23。
项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”在节点 1 上(Prepare 个目标)。
ValidateSolutionConfiguration:
正在生成解决方案配置“Debug|AnyCPU”。
Prepare:
git submodule update --init --recursive
项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(1)正在节点 1 上生成“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(2) (默认目标)。
PrepareForBuild:
正在创建目录“....\bin\BuildDebug\”。
正在创建目录“obj\Debug\”。
项目“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(2)正在节点 1 上生成“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\src\Xamarin.Android.Tools.AndroidSdk
Xamarin.Android.Tools.AndroidSdk.csproj”(3:2) (默认目标)。
PrepareForBuild:
正在创建目录“....\bin\Debug\”。
正在创建目录“obj\Debug\”。
GenerateTargetFrameworkMonikerAttribute:
正在跳过目标“GenerateTargetFrameworkMonikerAttribute”,因为所有输出文件相对于输入文件而言都是最新的。
CoreCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG /highentropyva+ /reference:"C:\Program
Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Core.dll" /reference:"C:\Pr
ogram Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Xml.dll" /reference:"C:
Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Xml.Linq.dll" /debug+ /debug:full /keyfile:....\product.snk /optimize- /out:obj\Debug\Xamarin.Android.Tools.AndroidSdk.dll /rule
set:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Static Analysis Tools\Rule Sets\MinimumRecommendedRules.ruleset" /subsystemversion:6.00 /target:library /utf8output Properties\Assembl
yInfo.cs AndroidTargetArch.cs OS.cs AndroidVersion.cs AndroidVersions.cs AndroidSdkInfo.cs JdkInfo.cs Sdks\AndroidSdkBase.cs Sdks\AndroidSdkUnix.cs Sdks\AndroidSdkWindows.cs ProcessUtils.cs AndroidAppManifest.cs File
Util.cs "C:\Users\vinno\AppData\Local\Temp.NETFramework,Version=v4.5.AssemblyAttributes.cs"
对来自后列目录的编译器使用共享编译: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn
CopyFilesToOutputDirectory:
正在将文件从“obj\Debug\Xamarin.Android.Tools.AndroidSdk.dll”复制到“....\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll”。
Xamarin.Android.Tools.AndroidSdk -> F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll
正在将文件从“obj\Debug\Xamarin.Android.Tools.AndroidSdk.pdb”复制到“....\bin\Debug\Xamarin.Android.Tools.AndroidSdk.pdb”。
已完成生成项目“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\src\Xamarin.Android.Tools.AndroidSdk\Xamarin.Android.Tools.AndroidSdk.csproj”(默认目标)的操作。

_HandlePackageFileConflicts:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Reference:Microso
ft.Build”和“Platform:Microsoft.Build.dll”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.cs
proj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Reference:Microso
ft.Build.Engine”和“Platform:Microsoft.Build.Engine.dll”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build.Engine”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-t
asks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Reference:Microso
ft.Build.Framework”和“Platform:Microsoft.Build.Framework.dll”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build.Framework”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools
xa-prep-tasks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Platform:Microsof
t.Build.dll”和“Reference:Microsoft.Build”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.cs
proj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Platform:Microsof
t.Build.Engine.dll”和“Reference:Microsoft.Build.Engine”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build.Engine”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-t
asks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message : NETSDK1041:“Platform:Microsof
t.Build.Framework.dll”和“Reference:Microsoft.Build.Framework”之间存在冲突。 NETSDK1033: 选择“Reference:Microsoft.Build.Framework”,因为 AssemblyVersion“15.1.0.0”高于“4.0.0.0”。 [F:\workspace\android\XA917\xamarin-android\build-tools
xa-prep-tasks\xa-prep-tasks.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3277: 发现“System.IO.Compression”的不同版本间存在无法解决的冲突。当日志详细信息设置为“详细”时,这些引用冲突将会在生成日志
中列出。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj]
GenerateTargetFrameworkMonikerAttribute:
正在跳过目标“GenerateTargetFrameworkMonikerAttribute”,因为所有输出文件相对于输入文件而言都是最新的。
CoreCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG /highentropyva+ /reference:"C:\Program
Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.dll" /reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Engine.dll" /
reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Framework.dll" /reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bi
n\Microsoft.Build.Tasks.Core.dll" /reference:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Utilities.Core.dll" /reference:"C:\Program Files (x86)\Reference Assembl
ies\Microsoft\Framework.NETFramework\v4.6.2\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\System.Core.dll" /reference:"C:\Program Files (x86)\Referenc
e Assemblies\Microsoft\Framework.NETFramework\v4.6.2\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\System.IO.Compression.dll" /reference:"C:\Program Fil
es (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\System.IO.Compression.FileSystem.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\System.Net
.Http.dll" /reference:F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framewo
rk.NETFramework\v4.6.2\Facades\System.Collections.Concurrent.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Collections.dll" /reference:"C:\Progr
am Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ComponentModel.Annotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4
.6.2\Facades\System.ComponentModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ComponentModel.EventBasedAsync.dll" /reference:"C:\Program Files
(x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Diagnostics.Contracts.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades
System.Diagnostics.Debug.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Diagnostics.Tools.dll" /reference:"C:\Program Files (x86)\Reference Assemb
lies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Diagnostics.Tracing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Dynamic.Runtime.dl
l" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Globalization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFr
amework\v4.6.2\Facades\System.IO.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies
Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Linq.Expressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Linq.Parallel.dll" /refere
nce:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Linq.Queryable.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v
4.6.2\Facades\System.Net.NetworkInformation.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Net.Primitives.dll" /reference:"C:\Program Files (x86)
Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Net.Requests.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Net.WebHe
aderCollection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ObjectModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\F
ramework.NETFramework\v4.6.2\Facades\System.Reflection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Reflection.Emit.dll" /reference:"C:\Program
Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Reflection.Emit.ILGeneration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4
.6.2\Facades\System.Reflection.Emit.Lightweight.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Reflection.Extensions.dll" /reference:"C:\Program F
iles (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Reflection.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Faca
des\System.Resources.ResourceManager.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Asse
mblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.Handles.d
ll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.InteropServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Frame
work.NETFramework\v4.6.2\Facades\System.Runtime.InteropServices.WindowsRuntime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.Numerics.dl
l" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.Json.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Fra
mework.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.X
ml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Security.Principal.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framew
ork.NETFramework\v4.6.2\Facades\System.ServiceModel.Duplex.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ServiceModel.Http.dll" /reference:"C:\P
rogram Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ServiceModel.NetTcp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.
2\Facades\System.ServiceModel.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.ServiceModel.Security.dll" /reference:"C:\Program Files (x
86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Text.Encoding.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Text
.Encoding.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Text.RegularExpressions.dll" /reference:"C:\Program Files (x86)\Reference Asse
mblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Threading.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Threading.Tasks.dll" /refe
rence:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Threading.Tasks.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NE
TFramework\v4.6.2\Facades\System.Threading.Timer.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files
(x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Xml.XDocument.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.X
ml.XmlSerializer.dll" /debug+ /debug:full /optimize- /out:obj\Debug\xa-prep-tasks.dll /ruleset:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Static Analysis Tools\Rule Sets\MinimumReco
mmendedRules.ruleset" /subsystemversion:6.00 /target:library /utf8output Properties\AssemblyInfo.cs Xamarin.Android.BuildTools.PrepTasks\CreateThirdPartyNotices.cs Xamarin.Android.BuildTools.PrepTasks\DownloadUri.cs
Xamarin.Android.BuildTools.PrepTasks\Git.cs Xamarin.Android.BuildTools.PrepTasks\GitBranch.cs Xamarin.Android.BuildTools.PrepTasks\GitCommitHash.cs Xamarin.Android.BuildTools.PrepTasks\GitCommitTime.cs Xamarin.Androi
d.BuildTools.PrepTasks\HashFileContents.cs Xamarin.Android.BuildTools.PrepTasks\JdkInfo.cs Xamarin.Android.BuildTools.PrepTasks\PathToolTask.cs Xamarin.Android.BuildTools.PrepTasks\SetEnvironmentVariable.cs Xamarin.A
ndroid.BuildTools.PrepTasks\SystemUnzip.cs Xamarin.Android.BuildTools.PrepTasks\Which.cs Xamarin.Android.BuildTools.PrepTasks\GitBlame.cs Xamarin.Android.BuildTools.PrepTasks\GitCommitsInRange.cs Xamarin.Android.Buil
dTools.PrepTasks\ReplaceFileContents.cs Xamarin.Android.BuildTools.PrepTasks\PrepareInstall.cs Xamarin.Android.BuildTools.PrepTasks\AcceptAndroidSdkLicenses.cs Xamarin.Android.BuildTools.PrepTasks\Sleep.cs Xamarin.An
droid.BuildTools.PrepTasks\ProcessPlotInput.cs Xamarin.Android.BuildTools.PrepTasks\ProcessLogcatTiming.cs Xamarin.Android.BuildTools.PrepTasks\CreateFilePaths.cs "C:\Users\vinno\AppData\Local\Temp.NETFramework,Vers
ion=v4.6.2.AssemblyAttributes.cs"
对来自后列目录的编译器使用共享编译: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Roslyn
_CopyFilesMarkedCopyLocal:
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Framework.dll”复制到“....\bin\BuildDebug\Microsoft.Build.Framework.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.dll”复制到“....\bin\BuildDebug\Microsoft.Build.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Engine.dll”复制到“....\bin\BuildDebug\Microsoft.Build.Engine.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Utilities.Core.dll”复制到“....\bin\BuildDebug\Microsoft.Build.Utilities.Core.dll”。
正在将文件从“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.dll”复制到“....\bin\BuildDebug\Xamarin.Android.Tools.AndroidSdk.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\System.Threading.Tasks.Dataflow.dll”复制到“....\bin\BuildDebug\System.Threading.Tasks.Dataflow.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\System.Runtime.InteropServices.RuntimeInformation.dll”复制到“....\bin\BuildDebug\System.Runtime.InteropServices.RuntimeInformatio
n.dll”。
正在创建目录“....\bin\BuildDebug\cs”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\System.Collections.Immutable.dll”复制到“....\bin\BuildDebug\System.Collections.Immutable.dll”。
正在创建目录“....\bin\BuildDebug\de”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Build.Tasks.Core.dll”复制到“....\bin\BuildDebug\Microsoft.Build.Tasks.Core.dll”。
正在创建目录“....\bin\BuildDebug\es”。
正在创建目录“....\bin\BuildDebug\en”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\en\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\en\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\de\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\de\Microsoft.Build.resources.dll”。
正在将文件从“F:\workspace\android\XA917\xamarin-android\external\xamarin-android-tools\bin\Debug\Xamarin.Android.Tools.AndroidSdk.pdb”复制到“....\bin\BuildDebug\Xamarin.Android.Tools.AndroidSdk.pdb”。
正在创建目录“....\bin\BuildDebug\it”。
正在创建目录“....\bin\BuildDebug\ja”。
正在创建目录“....\bin\BuildDebug\fr”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\es\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\es\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ja\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\ja\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\cs\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\cs\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\it\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\it\Microsoft.Build.resources.dll”。
正在创建目录“....\bin\BuildDebug\ko”。
正在创建目录“....\bin\BuildDebug\pt-BR”。
正在创建目录“....\bin\BuildDebug\pl”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pt-BR\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\pt-BR\Microsoft.Build.resources.dll”。
正在创建目录“....\bin\BuildDebug\ru”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\fr\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\fr\Microsoft.Build.resources.dll”。
正在创建目录“....\bin\BuildDebug\zh-Hans”。
正在创建目录“....\bin\BuildDebug\tr”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ko\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\ko\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pl\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\pl\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\cs\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\cs\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\de\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\de\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ru\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\ru\Microsoft.Build.resources.dll”。
正在创建目录“....\bin\BuildDebug\zh-Hant”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hans\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\zh-Hans\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\tr\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\tr\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hant\Microsoft.Build.resources.dll”复制到“....\bin\BuildDebug\zh-Hant\Microsoft.Build.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\it\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\it\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\es\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\es\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pl\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\pl\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pt-BR\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\pt-BR\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\en\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\en\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ru\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\ru\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\tr\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\tr\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\fr\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\fr\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hans\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\zh-Hans\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\cs\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\cs\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ja\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\ja\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ko\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\ko\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\es\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\es\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\fr\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\fr\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\en\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\en\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ko\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\ko\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ja\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\ja\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\de\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\de\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hant\Microsoft.Build.Tasks.Core.resources.dll”复制到“....\bin\BuildDebug\zh-Hant\Microsoft.Build.Tasks.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\it\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\it\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pl\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\pl\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\tr\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\tr\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hans\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\zh-Hans\Microsoft.Build.Utilities.Core.resources.
dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\ru\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\ru\Microsoft.Build.Utilities.Core.resources.dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\zh-Hant\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\zh-Hant\Microsoft.Build.Utilities.Core.resources.
dll”。
正在将文件从“C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\pt-BR\Microsoft.Build.Utilities.Core.resources.dll”复制到“....\bin\BuildDebug\pt-BR\Microsoft.Build.Utilities.Core.resources.dll”

正在创建“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\obj\Debug\xa-prep-tasks.csproj.CopyComplete”,因为已指定“AlwaysCreate”。
CopyFilesToOutputDirectory:
正在将文件从“obj\Debug\xa-prep-tasks.dll”复制到“....\bin\BuildDebug\xa-prep-tasks.dll”。
xa-prep-tasks -> F:\workspace\android\XA917\xamarin-android\bin\BuildDebug\xa-prep-tasks.dll
正在将文件从“obj\Debug\xa-prep-tasks.pdb”复制到“....\bin\BuildDebug\xa-prep-tasks.pdb”。
GetXAVersionInfo:
D:\Program Files\Git\cmd\git.EXE blame "F:\workspace\android\XA917\xamarin-android\Configuration.props"
D:\Program Files\Git\cmd\git.EXE log fc3c759..HEAD --oneline
D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
D:\Program Files\Git\cmd\git.EXE rev-parse --abbrev-ref HEAD
_CreateVersion:
正在创建目录“F:\workspace\android\XA917\xamarin-android\bin\Debug\lib\xamarin.android\xbuild\Xamarin\Android”。
已完成生成项目“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(默认目标)的操作。

项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(1)正在节点 1 上生成“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(4) (默认目标)。
PrepareForBuild:
正在创建目录“obj\Debug\”。
_GetHashes:
D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
D:\Program Files\Git\cmd\git.EXE log --no-color --first-parent -n1 --pretty=format:%h
_DownloadBundle:
Downloading https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/bin/Debug/bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip to C:\Users\vinno\android-archives\.bundle -v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip.download.
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : Unable to download URL https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/bin/Debug/bu ndle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip to C:\Users\vinno\android-archives\bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip: 响应状态代码不指示成功: 404 (The s
pecified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]
上一错误已转换为警告,因为调用任务时指定了 ContinueOnError=true。
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : 响应状态代码不指示成功: 404 (The specified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\bui
ld-tools\download-bundle\download-bundle.csproj]
上一错误已转换为警告,因为调用任务时指定了 ContinueOnError=true。
继续生成,因为任务“DownloadUri”的“ContinueOnError”设置为“True”。
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(29,5): error : The Windows build depends on a cached mono bundle, that may not be available yet. Try going back a few commi
ts (with git reset) to download a different bundle. [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]
已完成生成项目“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(默认目标)的操作 - 失败。

已完成生成项目“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 个目标)的操作 - 失败。

生成失败。

“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 目标) (1) ->
“F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj”(默认目标) (2) ->
(ResolveAssemblyReferences 目标) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3277: 发现“System.IO.Compression”的不同版本间存在无法解决的冲突。当日志详细信息设置为“详细”时,这些引用冲突将会在生成
日志中列出。 [F:\workspace\android\XA917\xamarin-android\build-tools\xa-prep-tasks\xa-prep-tasks.csproj]

“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 目标) (1) ->
“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(默认目标) (4) ->
(_DownloadBundle 目标) ->
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : Unable to download URL https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/bin/Debug/ bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip to C:\Users\vinno\android-archives\bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip: 响应状态代码不指示成功: 404 (The
specified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(24,5): warning : 响应状态代码不指示成功: 404 (The specified resource does not exist.)。 [F:\workspace\android\XA917\xamarin-android\b
uild-tools\download-bundle\download-bundle.csproj]

“F:\workspace\android\XA917\xamarin-android\Xamarin.Android.sln”(Prepare 目标) (1) ->
“F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj”(默认目标) (4) ->
(_DownloadBundle 目标) ->
F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.targets(29,5): error : The Windows build depends on a cached mono bundle, that may not be available yet. Try going back a few com
mits (with git reset) to download a different bundle. [F:\workspace\android\XA917\xamarin-android\build-tools\download-bundle\download-bundle.csproj]

3 个警告
1 个错误

已用时间 00:00:17.97

Reproduction Steps

steps by https://github.com/xamarin/xamarin-android/blob/xamarin-android-9.1.7.0/Documentation/building/windows-instructions.md

Expected behavior

can build successful

Actual behavior

can not build

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Author: llzz19851985
Assignees: -
Labels:

untriaged, area-Infrastructure-mono

Milestone: -

@steveisok
Copy link
Member

@jonathanpeppers can you transfer this to dotnet/android ? Or answer it here and close?

@jonathanpeppers jonathanpeppers transferred this issue from dotnet/runtime Jun 21, 2024
@jonathanpeppers jonathanpeppers added the Area: xamarin-android Build Issues building the xamarin-android repo *itself*. label Jun 21, 2024
@jonathanpeppers
Copy link
Member

@grendello @dellis1972 do you have a suggestion? Maybe there is a final/newer mono archive URL that is available somewhere?

@grendello
Copy link
Contributor

@jonathanpeppers
Copy link
Member

Oh, if it's our xamarin-android bundle, then it should just be able to build them fresh?

jonpryor added a commit that referenced this issue Aug 28, 2024
Fixes: #9253
Fixes: #9048

Multiple reports that `make prepare` now errors out:

	% make prepare
	…
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	Downloading Mono archive
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

	Checking if all runtime files are present
	  • some files are missing, download and extraction required
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Mono archive not present

	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	Installing Mono runtimes
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

	Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources.
	System.InvalidOperationException: Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources.
	 ---> System.NotImplementedException: Unable to build mono runtimes from sources.
	   at Xamarin.Android.Prepare.Step_InstallMonoRuntimes.Execute(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Steps/Step_InstallMonoRuntimes.cs:line 34
	   at Xamarin.Android.Prepare.Step.Run(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Step.cs:line 42
	   at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 37
	   --- End of inner exception stack trace ---
	   at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 48
	   at Xamarin.Android.Prepare.Context.Execute() in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Context.cs:line 845
	   at Xamarin.Android.Prepare.App.Run(String[] args) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Main.cs:line 174

This happens because the URL
<https://xamjenkinsartifact.azureedge.net/mono-sdks>
no longer exists (for various sundry internal reasons), and was
replaced by <https://download.mono-project.com/mono-sdks>.

Update `Configurables.Urls.MonoArchive_BaseUri` to use the new URL.

Additionally, the new URL only contains *release* artifacts.  Update
`Configurables.Defaults.MonoSdksConfiguration` to always be `release`
so that the appropriate archive and extracted directories are used.
jonpryor added a commit that referenced this issue Aug 28, 2024
Fixes: #9253
Fixes: #9048

Multiple reports that `make prepare` now errors out:

	% make prepare
	…
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	Downloading Mono archive
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

	Checking if all runtime files are present
	  • some files are missing, download and extraction required
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Mono archive not present

	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	Installing Mono runtimes
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

	Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources.
	System.InvalidOperationException: Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources.
	 ---> System.NotImplementedException: Unable to build mono runtimes from sources.
	   at Xamarin.Android.Prepare.Step_InstallMonoRuntimes.Execute(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Steps/Step_InstallMonoRuntimes.cs:line 34
	   at Xamarin.Android.Prepare.Step.Run(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Step.cs:line 42
	   at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 37
	   --- End of inner exception stack trace ---
	   at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 48
	   at Xamarin.Android.Prepare.Context.Execute() in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Context.cs:line 845
	   at Xamarin.Android.Prepare.App.Run(String[] args) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Main.cs:line 174

This happens because the URL
<https://xamjenkinsartifact.azureedge.net>
no longer exists (for various sundry internal reasons), and was
replaced by <https://download.mono-project.com>.

Update `$(MonoDarwinPackageUrl)` to use the new URL.

Update `Configurables.Urls.MonoArchive_BaseUri` to use the new URL.

Additionally, the new URL only contains *release* artifacts.  Update
`Configurables.Defaults.MonoSdksConfiguration` to always be `release`
so that the appropriate archive and extracted directories are used.
jonpryor added a commit that referenced this issue Aug 28, 2024
Fixes: #9253
Fixes: #9048

Multiple reports that `make prepare` now errors out:

	% make prepare
	…
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	Downloading Mono archive
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

	Checking if all runtime files are present
	  • some files are missing, download and extraction required
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Mono archive not present

	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	Installing Mono runtimes
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

	Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources.
	System.InvalidOperationException: Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources.
	 ---> System.NotImplementedException: Unable to build mono runtimes from sources.
	   at Xamarin.Android.Prepare.Step_InstallMonoRuntimes.Execute(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Steps/Step_InstallMonoRuntimes.cs:line 34
	   at Xamarin.Android.Prepare.Step.Run(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Step.cs:line 42
	   at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 37
	   --- End of inner exception stack trace ---
	   at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 48
	   at Xamarin.Android.Prepare.Context.Execute() in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Context.cs:line 845
	   at Xamarin.Android.Prepare.App.Run(String[] args) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Main.cs:line 174

This happens because the URL
<https://xamjenkinsartifact.azureedge.net>
no longer exists (for various sundry internal reasons), and was
replaced by <https://download.mono-project.com>.

Update `$(MonoDarwinPackageUrl)` to use the new URL.

Update `Configurables.Urls.MonoArchive_BaseUri` to use the new URL.

Additionally, the new URL only contains *release* artifacts.  Update
`Configurables.Defaults.MonoSdksConfiguration` to always be `release`
so that the appropriate archive and extracted directories are used.
jonpryor added a commit that referenced this issue Aug 29, 2024
Fixes: #9048
Fixes: #9253

Multiple reports that `make prepare` now errors out:

	% make prepare
	…
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	Downloading Mono archive
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

	Checking if all runtime files are present
	  • some files are missing, download and extraction required
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z
	Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt
	Mono archive not present

	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	Installing Mono runtimes
	=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

	Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources.
	System.InvalidOperationException: Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources.
	 ---> System.NotImplementedException: Unable to build mono runtimes from sources.
	   at Xamarin.Android.Prepare.Step_InstallMonoRuntimes.Execute(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Steps/Step_InstallMonoRuntimes.cs:line 34
	   at Xamarin.Android.Prepare.Step.Run(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Step.cs:line 42
	   at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 37
	   --- End of inner exception stack trace ---
	   at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 48
	   at Xamarin.Android.Prepare.Context.Execute() in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Context.cs:line 845
	   at Xamarin.Android.Prepare.App.Run(String[] args) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Main.cs:line 174

This happens because the URL
<https://xamjenkinsartifact.azureedge.net>
no longer exists (for various sundry internal reasons), and was
replaced by <https://download.mono-project.com>.

Update `$(MonoDarwinPackageUrl)` to use the new URL.

Update `Configurables.Urls.MonoArchive_BaseUri` to use the new URL.

Additionally, the new URL only contains *release* artifacts.  Update
`Configurables.Defaults.MonoSdksConfiguration` to always be `release`
so that the appropriate archive and extracted directories are used.

Finally, fix some HTTP redirect tests.

GitHub redirects xamarin/xamarin-android to dotnet/android, causing
e.g. `AndroidHandlerTestBase.Redirect_Without_Protocol_Works()` to
fail.  Update the expected URLs so they pass as expected.

Note: other unit tests fail.  As Xamarin.Android is no longer
supported, I don't care.  At least it builds!
@jonpryor
Copy link
Member

Fixed in #9255.

Please use the d17-5 branch to get this fix.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: xamarin-android Build Issues building the xamarin-android repo *itself*.
Projects
None yet
Development

No branches or pull requests

5 participants