Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnx now implicitly uses current folder as the appbase #52

Open
moozzyk opened this issue Aug 7, 2015 · 0 comments
Open

dnx now implicitly uses current folder as the appbase #52

moozzyk opened this issue Aug 7, 2015 · 0 comments

Comments

@moozzyk
Copy link

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.

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

No branches or pull requests

2 participants