Open tfabraham opened 6 years ago
tfabraham Hi Adrian,
The Include and Exclude attributes are not used. Since you are using TFS Team Build, you can let the build publish the WCF service website and reference that folder instead of the project folder.
However, an option that will work the same on a dev machine and a build machine is to selectively delete files after the Redist target. You can do that in your .btdfproj with something along these lines:
adicunningham[4/17/2014 1:45:24 PM] Hi,
As part of my BizTalk solution I've created a WCF service project which I want to package as part of the BizTalk MSI. This all works fine and great, however there are a bunch of files that I want to exclude and I can't seem to get that to work. The files I want to exclude are causing my TFS Build to break due to path being too long, since they are not required I want them excluded.
Here is the portion of my project file:
The VDirList by default includes everything by default, so naturally I use the Exclude attribute to ensure specific files are exclude from my build, I've tried various different patterns and not files ever get exclude. It looks like the redist target always copies everything regardless of the Exclude pattern.
Regards, Adrian.