3
Xamarin Android應用結果當我在亞馬遜S3的NuGet包添加到我的xamarin Android應用程序,我得到以下錯誤,包括Amazon S3的NuGet在FileNotFoundException異常
Severity Code Description Project File Line Suppression State
Error Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Net.Http.Primitives, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'System.Net.Http.Primitives.dll'
at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute() ContentUpdater
不知道如何解決這個問題?
Nick。
更新:只是試圖用一個Windows 10通用的應用程序一樣,我得到這個,
Severity Code Description Project File Line Suppression State
Error Cannot resolve Assembly or Windows Metadata file 'System.Net.Http.Primitives.dll' WindowsContentUpdater C:\devoctomy\GitHub\ContentUpdater\WindowsContentUpdater\WindowsContentUpdater.csproj
是對S3庫破碎的東西?
從例外,好像AWSSDK nugets
我已經看過那個線程,並沒有幫助不幸。我覺得有什麼不對的亞馬遜SDK,因爲它甚至不會有一個萬能的Windows 10應用程序,添加引用後,我得到這些警告的負荷.. – Nick
「嚴重\t代碼\t說明\t項目\t文件\t線工作\t抑制狀態 警告\t \t檢測到的程序包降級:Microsoft.NETCore.UniversalWindPlatform 5.2.2至5.1.0 WindowsContentUpdaterObjectLibrary(> = 1.0.0) - > AWSSDK.S3(> = 3.3.3) - > Microsoft.NETCore .UniversalWindowsPlatform(> = 5.2.2) WindowsContentUpdaterObjectLibrary(> = 1.0.0) - > Microsoft.NETCore.UniversalWindowsPlatform(> = 5.1.0)\t \t \t 0「 – Nick