开发者

Teamcity is not copying all the folders

I've now setup a MSBuild script to create the folders and files I need in the right structure for my MVC project. I'm then setting Teamcity up to look at the folder with only the files I want to have and copy that to the artifacts folder. So far, so good! However, There is a few folders in the structure that 开发者_运维百科are empty, and Teamcity does not copy these folder, even if I've set it up to copy the mainfolder and everything in it.

Is there a way to force Teamcity to copy everything - and by that I mean EVERYTHING in my folder, or does it simply not work?

Teamcity Artifact path settings:

Website => Release


You may find your answer in this post : How do I exclude the contents of a directory but not the directory itself in MSBuild

It's not Teamcity but still MsBuild. The problem is that msbuild's include does not include empty directories...


We manage to work around this and skip the empty folders. Therefore this was no longer an issue. However, still don't know how to copy empty folders. My understanding from doing research for a long while now is that it simply doesn't work.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜