运行 第一个 ASP.NET 5 个应用程序使用 VSCode、DNX 和 kestrel 导致 IOException
Running first ASP.NET 5 application using VSCode, DNX and kestrel results in IOException
按照 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.
有关完整的堆栈跟踪,请参阅随附的屏幕截图。有什么问题吗?
这是一个known mono bug。为了修复它,设置 MONO_MANAGED_WATCHER
环境变量:
export MONO_MANAGED_WATCHER=false
按照 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.
有关完整的堆栈跟踪,请参阅随附的屏幕截图。有什么问题吗?
这是一个known mono bug。为了修复它,设置 MONO_MANAGED_WATCHER
环境变量:
export MONO_MANAGED_WATCHER=false