i running vanilla asp.net vnext hello world application dnx. when perform "dnx . run", runs fine. when using "dnu publish" create self contained package (as result of creates web.cmd), fails run on linux errors
root@xavier:~/net/helloworldcore/bin/output# web.cmd web.cmd: command not found i tired doing "chmod 777 web.cmd", fails recognize dnx
root@xavier:~/net/helloworldcore/bin/output# chmod 777 web.cmd root@xavier:~/net/helloworldcore/bin/output# ./web.cmd ./web.cmd: line 1: $'\r': command not found ./web.cmd: line 2: @dnx.exe: command not found i using ubuntu 14.04
root@xavier:~/dnvm list active version runtime arch location alias ------ ------- ------- ---- -------- ----- 1.0.0-beta4 coreclr x64 ~/.dnx/runtimes 1.0.0-beta5 mono ~/.dnx/runtimes default 1.0.0-beta6-12207 coreclr x64 ~/.dnx/runtimes 1.0.0-beta6-12207 mono ~/.dnx/runtimes * 1.0.0-beta4 mono ~/.dnx/runtimes
on linux don't run .cmd files. cmd windows. run command name, without extension: ./web.
Comments
Post a Comment