Android Xamarin Visual Studio错误:'System.Configuration.dll' [英] Android xamarin visual studio error : 'System.Configuration.dll'
问题描述
我正在尝试建立一个新的xamarin项目,在该项目中我将与aws dynamoDB连接.但是现在我得到了这个错误.我搜索了所有内容,但找不到任何好的答案.我找到了一个"System.Configuration.dll"文件,但这是最高版本2.0.有解决方案吗?
I'm trying to set up a new xamarin project where i will connect with aws dynamoDB. But now i get this error. I searched everything for it and can't find any good answer for this. I found a 'System.Configuration.dll' file but that was max version 2.0. Any solutions??
提前谢谢!
Severity Code Description Project File Line Suppression State
Error Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'System.Configuration.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() Grocery
推荐答案
您必须从系统中添加引用.
You have to add a reference from a system.
C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 {{version}} \ System.Configuration.dll
C:\Windows\Microsoft.NET\Framework64\v4.0.30319{{version}}\System.Configuration.dll
清理并重建项目,然后重试.
Clean and Rebuild the project and try again.
这篇关于Android Xamarin Visual Studio错误:'System.Configuration.dll'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!