本文介绍了排除使用&QUOT发布项目文件夹; DNU发布]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能排除使用DNU发布命令从wwwroot文件夹在

How can I exclude folders from wwwroot using "dnu publish" command.

例如:在我的项目中存在许多文件夹

Example: in my project exists many folders

我需要排除的 wwwroot的/ lib目录 wwwroot文件/源

I'm使用CLR 1.0.0-beta7-12302

I´m using clr 1.0.0-beta7-12302

推荐答案

的wwwroot 文件夹被区别对待。它被称为的根目录的。该文件夹的内容不通过通配符时发布(见这里)。建议源$ C ​​$ c和输出都放出来的的根目录

The wwwroot folder is treated differently. It is called a webroot. The content in this folder doesn't go through globbing during publish (see here). It is recommended that source code and output are put out of the webroot.

你有,你必须存储源$ C ​​$ CS和二进制代码此文件夹中的场景?

Do you have scenario that you have to store source codes and binaries in this folder?

这篇关于排除使用&QUOT发布项目文件夹; DNU发布]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 12:36
查看更多