我正在尝试调试为什么我的 ASP.Net RC-1 项目没有在 Kestrel 上运行。当我点击“web”作为启动选项时,输出窗口看起来很干净——没有例外。但是我被告知的控制台会弹出 - 不会。如何调试导致此问题的原因?
我创建了另一个模板项目并运行它只是为了确保从 Kestrel 运行正常并且确实如此。
对于我的项目,这些是输出的最后几行:
'dnx.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Users\David\.dnx\packages\Microsoft.AspNet.Authentication.Cookies\1.0.0-rc1-final\lib\net451\Microsoft.AspNet.Authentication.Cookies.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Microsoft.Extensions.DependencyInjection.DataProtectionServices: Information: User profile is available. Using 'C:\Users\David\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
'dnx.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0xf80 has exited with code 0 (0x0).
The thread 0x7ec has exited with code 0 (0x0).
The thread 0x3f38 has exited with code 0 (0x0).
The thread 0x10d4 has exited with code 0 (0x0).
编辑:
我应该补充一点,它在 IIS 上运行得很好。
非常感谢!