Xamarin.Android错误" PresentationFramework,Version = 4.0.0.0,Culture = neutral"

时间:2017-07-26 17:52:46

标签: c# android visual-studio xamarin mono

当我在xamarin.android中更改项目文件夹时出现此错误。

  • 严重级代码说明项目文件行抑制状态错误 加载程序集时出现异常:System.IO.FileNotFoundException: 无法加载程序集' PresentationFramework,Version = 4.0.0.0, Culture = neutral,PublicKeyToken = 31bf3856ad364e35'。也许它没有 存在于Mono for Android个人资料中?文件名: ' PresentationFramework.dll'在 Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference 参考,ReaderParameters参数)at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference 参考)at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(DirectoryAssemblyResolver 解析器,ICollection`1程序集,AssemblyDefinition程序集, 布尔topLevel)at Xamarin.Android.Tasks.ResolveAssemblies.Execute(DirectoryAssemblyResolver 解析器)Project.Novo
你能帮助我吗? ; - ;

1 个答案:

答案 0 :(得分:0)

我做到了,我只是添加了“Program Files \ Reference Assemblies \ Microsoft \ Framework.NETFramework \'VERSION \'Nome da DLL'”的引用。