Xamarin Android App - 错误:加载程序集时出现异常:System.IO.FileNotFoundException:无法加载程序集' System.Web

时间:2015-12-10 05:37:38

标签: c# android .net xamarin xamarin.android

我希望有人可以帮助我。我一直在网上寻找答案,但一个人并没有向我透露自己。在尝试包含Nuget Package" Nutrionix"时,我收到了这个错误。在Xamarin的Android应用程序项目中。 " Microsoft.Http.Net"是" Nutritionix"我以前添加过此软件包时遇到了麻烦,但现在我收到了这个错误。请帮忙!提前谢谢..

如果有人能理解它,这是超长错误消息......

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Error: Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'System.Web.dll'
  at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference reference, Mono.Cecil.ReaderParameters parameters) <0x3cdfd18 + 0x00423> in <filename unknown>:0 
  at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference reference) <0x3d2fbb0 + 0x0001f> in <filename unknown>:0 
  at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences (ICollection`1 assemblies, Mono.Cecil.AssemblyDefinition assembly, Boolean topLevel) <0x3d2f260 + 0x0046b> in <filename unknown>:0 
  at Xamarin.Android.Tasks.ResolveAssemblies.Execute () <0x3d2e688 + 0x00577> in <filename unknown>:0  (ProteinTracker)

0 个答案:

没有答案