This repository was archived by the owner on Nov 1, 2018. It is now read-only.
This repository was 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
Description
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'.