2016-12-11 16 views
2

我想在我的執行IdentityServer4的添加UI快速啓動UI,我下面的文檔快速入門指南https://identityserver4.readthedocs.io/en/release/quickstarts/3_interactive_login.html,我已經從發佈回購 https://github.com/IdentityServer/IdentityServer4.Quickstart.UI/tree/release 當我嘗試複製文件夾建立在Visual Studio中,我得到以下錯誤此解決方案:錯誤,而建設的身份服務器4

嚴重性代碼說明項目文件的線路抑制狀態 錯誤CS1061「IResourceStore」不包含「FindEnabledResourcesByScopeAsync」的定義,並沒有擴展方法「FindEnabledResourcesByScopeAsync」接受第一可以找到'IResourceStore'類型的參數(你是否遺漏了使用指令o )TrialAuthentication.NETCoreApp,Version = v1.1 C:\ Users \ admin \ trial-authentication \ Controllers \ ConsentController.cs 121 Active

回答

1

問題是IdentityServer4有一個新的候選版本 - 而下載的最新UI版本反映了這一點。同時,文檔仍然引用rc4。

剛去project.json與

"IdentityServer4": "1.0.0-rc5" 

更換

"IdentityServer4": "1.0.0-rc4-update1" 

和你的項目將編譯就好了。

+1

非常感謝,解決了我的問題 –