Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

dnu publish fails if there's no wwwroot folder #2141

Closed
friism opened this issue Jun 26, 2015 · 4 comments
Closed

dnu publish fails if there's no wwwroot folder #2141

friism opened this issue Jun 26, 2015 · 4 comments
Assignees
Milestone

Comments

@friism
Copy link

friism commented Jun 26, 2015

Take, for example, the HelloMVC project:

# rm -rf wwwroot/
# dnu publish --out /tmp/out --no-source --configuration Release
Microsoft .NET Development Utility Mono-x64-1.0.0-beta6-12120

The specified wwwroot folder 'wwwroot' doesn't exist in the project directory.

I would have expected the build to complete with no wwwroot or empty wwwroot folder. While it might be reasonable to require a wwwroot folder, it's a bit annoying, for example if one has an empty wwwroot folder that's not tracked by git.

@muratg
Copy link
Contributor

muratg commented Jun 29, 2015

#636

@muratg
Copy link
Contributor

muratg commented Jul 1, 2015

@ChengTian did we have a work item to create a wwwroot folder when publishing if it doesn't exist?

@moozzyk
Copy link
Contributor

moozzyk commented Jul 1, 2015

FWIW - I hit this yesterday too...

@friism
Copy link
Author

friism commented Jul 9, 2015

Thanks guys! 💃

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

4 participants