4

我目前正在 VS2013 中开发 Xamarin.Android 应用程序。我想按照本指南在我的应用程序中实施 Azure Active Directory 。然后我Microsoft.IdentityModel.Clients.ActiveDirectory按照描述添加 nuget 包。

然后我想添加一个 AuthenticationResult 属性,但是我得到了一个缺少的 assemble 参考错误。即使我明确地写(或拖放)Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationResult

我到处寻找解决方案,但没有一个适合我的问题。(升级/降级目标框架没有解决问题)如果有人对此有任何想法,我将非常感激,因为我已经没有想法了。

谢谢你。

4

2 回答 2

2

Few things to check or try:

Does the Reference to Microsoft.IdentityModel.Clients.ActiveDirectory appear in the References list from your solution?

If it appears, what are the properties, like copy to output, absolute/relative path?

Is it added for all Project configurations (Debug/Release)?

于 2015-05-06T15:11:40.227 回答
1

所以我发现了问题所在。我必须使用特定版本的软件包,因为它是预发布版本。我必须安装 3.0.110281957 ,然后它才能根据需要识别参考。

于 2015-05-07T10:06:19.107 回答