Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Lib folder under wwwroot doesn't gets published in VisualStudio2015

$
0
0
<div class="post-text" itemprop="text">

I have created a Angular2 project in AspNetCore1.0. The application works fine in Debug mode. but when I publish the application by "Custom" and specify the Publish Method as "File system" and do Publish, all the files/folders under wwwroot folder gets published into the specified target folder. But I do have 'lib' also as one of the folder existing inside the wwwroot, which consists of all the required references for Angular2. This specified Lib folder doesn't gets published/copied to the specified target folder. Since it is not getting published into the target folder, I need to manually copy the lib contents to the actual deployment folder.

Is there any way I can include this "Lib" folder also included during publish?

Please find the wwwroot folder stucture, also published folder contents in the attached snapshotenter image description here

</div>

Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>