我正在尝试在Xamarin应用程序中实现离线同步功能。我已经安装了Nuget软件包:
AWSSDK.SecurityToken
AWSSDK.SimpleDB
AWSSDK.CognitoSync
AWSSDK.CognitoIdentity
尝试重建应用程序时收到此错误Severity Code Description Project File Line Suppression StateError CS0006 Metadata file '..\..\packages\AWSSDK.SecurityToken.3.3.2\analyzers\dotnet\cs\AWSSDK.SecurityToken.CodeAnalysis.dll' could not be found
最佳答案
对我来说,我必须卸载错误的项目并编辑.csproj以具有正确的路径,如下所示:
<ItemGroup>
<Analyzer Include="..\packages\AWSSDK.S3.3.3.10\analyzers\dotnet\cs\AWSSDK.S3.CodeAnalysis.dll" />
</ItemGroup>
关于c# - Xamarin-找不到元数据文件…/AWSSDK.SecurityToken.CodeAnalysis.dll,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/44380597/