我用 Owin Startup 类开发了一个应用程序。当我运行 OwinHost.exe 时,它显示No Assembly found containing OwinStartupAttribute
.
但是我在启动类中将程序集定义为:
[assembly: OwinStartup(typeof(OwinDemo.BrandStartup))]
我还在 Web.Config 文件中将 appSettings 定义为:
<appSettings>
<add key="owin:AppStartup" value="OwinDemo.Startup, OwinDemo"/>