Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.0.0.0

前端 未结 4 1825
时光说笑
时光说笑 2021-01-01 09:28

I want using external logins so I installed Oauth by package manager:

 PM> Install-Package Microsoft.AspNet.WebPages.OAuth

Then I got th

4条回答
  •  清酒与你
    2021-01-01 10:02

    Apologies in advance for this lo-tech suggestion, but another option, which finally worked for me after battling NuGet for several hours, is to re-create a new empty project, Web API in my case, and just copy the guts of your old, now-broken project into the new one. Took me about 15 minutes.

提交回复
热议问题