OzekiSDK无法在Android上运行

时间:2016-04-01 09:54:40

标签: visual-studio xamarin ozeki

以下是将OzekiSDK添加到项目引用中时出现的错误:

Error 1 Exception while loading assemblies: 
System.IO.FileNotFoundException: 
Could not load assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. 
Perhaps it doesn't exist in the Mono for Android profile?
File name: 'System.Windows.Forms.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() SIPPHONE2

导致此错误的原因是什么?如何纠正?

1 个答案:

答案 0 :(得分:1)

Xamarin.Android上没有

System.Windows.Forms,因此无法使用此SDK,因为它似乎是Windows桌面应用的目标。