Running first ASP.NET 5 application using VSCode, DNX and kestrel results in IOException

≡放荡痞女 提交于 2019-12-05 12:04:30

问题


Following the steps described in the Visual Studio Code documentation, running the final command dnx . kestrel via the Command Palette of VSCode on Mac OS X results in an IOException when visiting http://localhost:5001:

kqueue() FileSystemWatcher has reached the maximum nunmber of files to watch.

See the attached screenshot for the complete stacktrace. What could be wrong?


回答1:


It's a known mono bug. In order to fix it set the MONO_MANAGED_WATCHER environment variable:

export MONO_MANAGED_WATCHER=false

Source



来源:https://stackoverflow.com/questions/29971826/running-first-asp-net-5-application-using-vscode-dnx-and-kestrel-results-in-ioe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!