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

dotnet new generates a dot file when run from root directory #454

Closed
TheRealPiotrP opened this issue Mar 21, 2017 · 2 comments
Closed

dotnet new generates a dot file when run from root directory #454

TheRealPiotrP opened this issue Mar 21, 2017 · 2 comments

Comments

@TheRealPiotrP
Copy link

On linux machine with root access:

  • cd /
  • dotnet new console
  • ls

Expected

Listed files include a csproj file

Actual

The generated csproj file is called .csproj. Since this is a dot file, it is hidden from output of ls unless special flags are passed.

@TheRealPiotrP
Copy link
Author

Related to #381

@mlorbetske
Copy link
Contributor

What's the suggested behavior here? Should it fail and indicate that --name must be specified (as it wasn't and the root directory has no name) or should it just use the original names of the files from the template content?

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

No branches or pull requests

2 participants