Azure-Samples / ms-identity-aspnet-webapp-openidconnect

A sample showcasing how to develop a web application that handles sign on via the unified Azure AD and MSA endpoint, so that users can sign in using both their work/school account or Microsoft account. The sample also shows how to use MSAL to obtain a token for invoking the Microsoft Graph, as well as incrementental consent.
MIT License
171 stars 72 forks source link

Assembly loading issue #78

Open PiotrDx opened 2 years ago

PiotrDx commented 2 years ago

Clean, fresh downloaded project, after run get error:

Could not load file or assembly 'Microsoft.Owin, Version=4.2.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

SteveW117 commented 2 years ago

Try adding Microsoft.Owin to the project via nuget - it seemed to work for me...