我感觉自己缺少一些很基础的东西,但我已经努力解决了。
基本上,我正在尝试遵循这个问题的答案:https://dev59.com/82Mm5IYBdhLWcg3wB7V5#22694372
它使用了一个GoogleOAuth2AuthenticationOptions对象,从我的谷歌搜索结果来看,应该在.net4.5框架中位于这里:Microsoft.Owin.Security.Google.GoogleOAuth2AuthenticationOptions
然而我的MVC项目是.NET 4.5,但它并不存在!尽管它说应该存在:http://www.symbolsource.org/Public/Metadata/NuGet/Project/Microsoft.Owin.Security.Google/2.1.0-rc1/Release/.NETFramework,Version%3Dv4.5/Microsoft.Owin.Security.Google/Microsoft.Owin.Security.Google/GoogleOAuth2AuthenticationHandler.cs?ImageName=Microsoft.Owin.Security.Google。所以,GoogleOAuth2AuthenticationOptions到底在哪里呢?哈哈