首页 新闻 会员 周边

dnx kestrel出错:The system cannot find the path specified

0
悬赏园豆:10 [已解决问题] 解决于 2015-11-17 11:29

运行dnx kestrel命令之后,出现下面的错误:

System.IO.DirectoryNotFoundException: The system cannot find the path specified.
 (Exception from HRESULT: 0x80070003)
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
   at Microsoft.Dnx.Runtime.Loader.LoadContext.LoadFile(String path)
dudu的主页 dudu | 高人七级 | 园豆:30994
提问于:2015-11-17 11:20
< >
分享
最佳答案
0

运行dnu restore命令,然后按照下面的步骤安装libuv之后,运行dnx kestrel,问题解决。

sudo apt-get install make automake libtool curl
curl -sSL https://github.com/libuv/libuv/archive/v1.4.2.tar.gz | sudo tar zxfv - -C /usr/local/src
cd /usr/local/src/libuv-1.4.2
sudo sh autogen.sh
sudo ./configure
sudo make
sudo make install
sudo rm -rf /usr/local/src/libuv-1.4.2 && cd ~/
sudo ldconfig
dudu | 高人七级 |园豆:30994 | 2015-11-17 11:29
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册