DCSIMG
ITPRO,MSBuild - Baruch Frei
Sign in | Join | Help

Browse by Tags

CustomizableOutDir In Team Build 2010
22 February 11 10:48 AM | BaruchF | 2 comment(s)
The default behavior of Team Build is to override the Output Directory defined in the compiled project and direct all outputs to Binaries Dir. But, sometimes this behavior is not good either because of Solutions dependencies either because we want our outputs in specific structure. In Team Build 2008 there was a predefined property for that reason “CustomizableOutDir” that if it set to true output directories  are not overridden. In Team Build 2010 (as part of moving from MSBuild to Workflow...
Msbuild for Website & the slippery “_PublishedWebsites” folder
13 February 11 03:30 PM | BaruchF | with no comments
I got request from one of our clients about wired behavior of the Team Build. In some of the builds for Web projects the build creates a _PublishedWebsites folder under drop location and arranges all WebSites\WebApplications\WebService under this folder very nice. But in other builds this folder is missing even though all web projects compiled successfully. It just drops all compiled materials under drop location. As I remember it should just work Out Of The Box. For testing I created new solution...
Create recursive ItemGroup on specific folders-including the folders themselves
25 January 09 04:14 PM | BaruchF | with no comments
In MSBuild when you want to copy files and save the folder tree you can create a recursive ItemGroup and send it to the copy task . Here is the syntax of declaring recursive ItemGroup : < ItemGroup > < MySourceFiles Include = " c:\MySourceTree\**\*.* " /> </ ItemGroup > but, what if you want to create a recursive item group and include only specific folders and sub folders? For example let’s assume you have this tree: and you want to copy only folders A and C recursively...