开发者

Is it possible to exclude folders from a web application project in vs 2010?

I had previously asked this question. At the time I was working with VS 2008.

To restate the question. I have a web application that generates 1000's of small xml files in a certain directory. I would like to exclude this directory开发者_运维知识库 from the web application project in visual studio 2010. With vs 2008 it was not possible. Has anything changed?

Besides the general wait for VS to iterate through this directory and add an item in the solution explorer for each file, it also strains my system resources, so I would like to exclude it from the project, but the dir and files need to physically exist on disk, because they are part of the application.

Any OOB VS 2010 solutions, or any good workarounds?

Thanks

Update: This also sums up the issue nicely http://forums.asp.net/t/1179077.aspx


Right click on the folder in Solution Explorer in VS 2010 click on 'Exclude From Project'...


Check out this post, a modification to the project file has been introduced to exclude a specific directory from the build process. You could look at other msbuild options too

Exclude folder from website build using MSBuild

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜