You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously when running the dnx command a path to the folder containing the project was required even if the project was in the current folder. This has changed and now the dnx command no longer takes the path as the parameter. Rather, it assumes that the project is in the current folder. As a result the dnx . {command} becomes just dnx {command}.
Note this means that dnx . run no longer works and now you need to use dnx run instead
To run a project that is not in the current folder a newly added -p|--project option needs to be used. Thus dnx ..\..\test\MyTests test becomes dnx -p ..\..\test\MyTests test
Similarly, -p|--project option needs to be used to point to a project.json file e.g. dnx --project src\app\project.json run
Previously when running the dnx command a path to the folder containing the project was required even if the project was in the current folder. This has changed and now the dnx command no longer takes the path as the parameter. Rather, it assumes that the project is in the current folder. As a result the
dnx . {command}
becomes justdnx {command}
.Note this means that
dnx . run
no longer works and now you need to usednx run
insteadTo run a project that is not in the current folder a newly added
-p|--project
option needs to be used. Thusdnx ..\..\test\MyTests test
becomesdnx -p ..\..\test\MyTests test
Similarly,
-p|--project
option needs to be used to point to aproject.json
file e.g.dnx --project src\app\project.json run
The change is available starting from build 12325
Here is the parent issue in the dnx repo: aspnet/dnx#1403
For comments, concerns, or questions please use this thread.
The text was updated successfully, but these errors were encountered: