SharePoint2010 单点登录的问题

在网上找的代码,在编译时遇到以下错误:

类型“Microsoft.IdentityModel.Claims.Claim”在未被引用的程序集中定义。必须添加对程序集“Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”的引用。 

需要添加引用Microsoft.IdentityModel.dll,引用的地址在:C:\Program Files\Reference Assemblies\Microsoft\Windows Identity Foundation\v3.5 。

然后在编译就成功了。 

posted @ 2012-08-07 21:38  狐狸马三  阅读(376)  评论(0编辑  收藏  举报