近期爲了做個SharePoint 2013 單點登錄的POC Demo,又重拾了撂下多年的開發,在使用SharePoint 2013 的 Secure Srore Service(SSS)編程時,要用到 SecureStoreProvider 類,但死活找不到能夠引用的dll文件,後來終於發現原來在SharePoint 2010中的位置在:
C:\Windows\assembly\GAC_MSIL\Microsoft.Office.SecureStoreService\14.0.0.0__71e9bce111e9429c\Microsoft.Office.SecureStoreService.dll
而2013的位置發生了變化,是在:
C:\Windows\Microsoft.NET\assembly\GAC_MSIL
真是老了,呵呵。