使用VSCode,DNX和kestrel运行第一个ASP.NET 5应用程序会导致IOException

时间:2015-04-30 15:29:23

标签: visual-studio-code dnx kestrel-http-server

按照perldata中描述的步骤,在Mac OS X上通过VSCode的命令调色板运行最终命令dnx . kestrel会在访问Visual Studio Code documentation时导致IOException:

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

有关完整的堆栈跟踪,请参阅附带的屏幕截图。可能有什么问题?enter image description here

1 个答案:

答案 0 :(得分:27)

这是一个known mono bug。为了解决这个问题,请设置export MONO_MANAGED_WATCHER=false 环境变量:

$(window).load(function() { 
 // executes when complete page is fully loaded, including all frames, objects and images 
resizefunction();

 });

Source