I\'m getting this error as my project is not able to find the reference for OWIN startup class. I\'ve even installed all the OWIN reference packages through Nug
This could be faced in Visual Studio 2015 as well when you use the Azure AD with a MVC project. Here it create the startup file as Startup.Auth.cs in App_Start folder but it will be missing the
[assembly: OwinStartup(typeof(MyWebApp.Startup))]
So add it and you should be good to go. This goes before the namespace start.