dnx now implicitly uses current folder as the appbase #52

moozzyk opened this Issue Aug 7, 2015 · 0 comments


None yet
2 participants

moozzyk commented Aug 7, 2015

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

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.

@aspnet aspnet locked and limited conversation to collaborators Aug 7, 2015

@Eilon Eilon added this to the 1.0.0-beta7 milestone Aug 7, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.