[英]Why do I get error 'File does not contain a valid CIL image' when debugging from Visual Studio Code editor?
I'm running Visual Studio Code on Max OS X and constantly seeing this error.我在 Max OS X 上运行 Visual Studio Code 并经常看到这个错误。 Works fine when I run directly from Terminal using dnx.run
当我使用 dnx.run 直接从终端运行时工作正常
Any suggestions on how I can fix this?关于如何解决这个问题的任何建议?
Error Trace from Terminal 'mono' --debug
--debugger-agent=transport=dt_socket,server=y,address=127.0.0.1:57332
'Program.cs' Cannot open assembly 'Program.cs': File does not contain
a valid CIL image.
ASP.NET 5 is explicitly stated by Microsoft as not yet supported, and there are other debugging limitations, ASP.NET 5 被微软明确声明为尚不支持,还有其他调试限制,
https://code.visualstudio.com/Docs/FAQ https://code.visualstudio.com/Docs/FAQ
So wait, wait, wait.所以等等,等等,等等。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.