แอสเซมบลีของ Windows ไม่มีอยู่ในโปรไฟล์โมโนสำหรับ Android หรือไม่

ฉันกำลังพัฒนาแอปพลิเคชัน Xamarin ตัวอย่าง และได้รับข้อผิดพลาดในการสร้างโปรไฟล์ Android ต่อไปนี้เป็นข้อผิดพลาด

Exception while loading assemblies: System.IO.FileNotFoundException: 
Could not load assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken='.
Perhaps it doesn't exist in the Mono for Android profile? File name: 'Windows.dll'    at 
Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(List`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
Xamarin.Android.Tasks.ResolveAssemblies.Execute()   

ฉันไม่เข้าใจว่าปัญหาที่แท้จริงคืออะไร ไม่มีชุดประกอบ windows ในโปรไฟล์โมโนสำหรับ Android หรือไม่ โปรดช่วยฉันด้วย


person Aneesh    schedule 24.09.2013    source แหล่งที่มา


คำตอบ (2)


คุณสามารถดูชุดประกอบทั้งหมดที่มีอยู่ได้ที่นี่:

Xamarin.Android: http://docs.xamarin.com/guides/android/advanced_topics/assemblies

Xamarin.iOS: http://docs.xamarin.com/guides/ios/advanced_topics/assemblies

ดังนั้นจึงไม่มี Windows.dll ไม่พร้อมใช้งาน คุณยังสามารถสแกนแอสเซมบลีปัจจุบันของคุณเพื่อดูความเข้ากันได้ที่นี่: http://scan.xamarin.com/

person Cheesebaron    schedule 24.09.2013

ควรมีการอัปเดตใน android sdk ของคุณ

person Igor Monteiro    schedule 14.07.2016