Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

publish-iis fails when there are no files in wwwroot folder #87

Closed
vijayrkn opened this issue Feb 18, 2016 · 1 comment
Closed

publish-iis fails when there are no files in wwwroot folder #87

vijayrkn opened this issue Feb 18, 2016 · 1 comment

Comments

@vijayrkn
Copy link

dotnet publish does not create the wwwroot folder if there are no files in the wwwroot folder. When publish-iis runs, it needs to add the web.config to the wwwroot folder and it fails when the folder is not present.

e.g:
Configuring the following project for use with IIS: 'd:\dotnet\web\KWebDemo\KWebDemo\src\KTestingDemo\bin\Debug\dnxcore50\win7-x64'
No web.config found. Creating 'd:\dotnet\web\KWebDemo\KWebDemo\src\KTestingDemo\bin\Debug\dnxcore50\win7-x64\wwwroot\web.config'
Could not find a part of the path 'd:\dotnet\web\KWebDemo\KWebDemo\src\KTestingDemo\bin\Debug\dnxcore50\win7-x64\wwwroot\web.config'.

@Tratcher Tratcher added the bug label Feb 18, 2016
@moozzyk moozzyk added this to the 1.0.0-rc2 milestone Feb 23, 2016
@moozzyk moozzyk self-assigned this Feb 23, 2016
@moozzyk
Copy link
Contributor

moozzyk commented Feb 23, 2016

Fixed with 90763b6

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

3 participants