Could not load file or assembly ‘Owin

By | Apr 16, 2017

First day of trying the understand OWIN, I follow the steps from the microsoft site and are greeted by this error message.

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

There are possible solutions here but none worked for me then I realized to my embarrassment the error was caused by me naming my sandbox project “Owin”.

  • Rename the project and assembly
  • Clean the solution
  • Rebuild

Upon further investigation, true as bob. There is a 3rd party assembly called Owin.dll located in the bin folder. This must be part of the nuget package installation.



0 0 vote
Article Rating
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments