Azure-Samples / active-directory-dotnet-graphapi-web

A .NET 4.5 MVC web app that demonstrates how to query the Azure AD Graph API using the Azure AD Graph Client Library
82 stars 68 forks source link

Could not load type 'System.IdentityModel.Tokens.TokenValidationParameters' #63

Open ahmadezzeir opened 6 years ago

ahmadezzeir commented 6 years ago

Hi, when i run it locally using vs 2017, i got this runtime error

Line 47: app.UseCookieAuthentication(new CookieAuthenticationOptions()); Line 48: Line 49: app.UseOpenIdConnectAuthentication( Line 50: new OpenIdConnectAuthenticationOptions Line 51: {