Hi Marcel, You should be able to replace Debug with %(ConfigurationToBuild.FlavorToBuild).
Regards, William 2008/9/24 Marcel van Laar <[EMAIL PROTECTED]> > Hi, > > > > Is there a way to use the "BuildType" or "FlavorToBuild" (Debug/Release) in > the copy task? > > > > I have the following: > > <Target Name="AfterDropBuild"> > > > > <CreateItem > Include="$(SolutionRoot)/Main/Source/Common/SharedBinaries/**/*" > > > <Output ItemName="SharedBinaries" TaskParameter="Include" /> > > </CreateItem> > > <!-- Copy to the DEBUG folder --> > > <Copy SourceFiles="@(SharedBinaries)" > DestinationFiles="@(SharedBinaries ->'$(DropLocation)\$(BuildNumber)\* > Debug*\%(RecursiveDir)%(FileName)%(Extension)')" /> > > </Target> > > > > I don't like to hardcode the *Debug* part. Is there a way to avoid this? > > > > Thank you, > > Marcel van Laar > > ------------------------------ > De informatie, verzonden in of met dit e-mailbericht, is vertrouwelijk en > uitsluitend voor de geadresseerde(n) bestemd. Het gebruik van de informatie > in dit bericht, de openbaarmaking, vermenigvuldiging, verspreiding en/of > verstrekking daarvan aan derden is niet toegestaan. Gebruik van deze > informatie door anderen dan geadresseerde(n) is strikt verboden. Aan deze > informatie kunnen geen rechten worden ontleend. U wordt verzocht bij > onjuiste adressering de afzender direct te informeren door het bericht te > retourneren en het bericht uit uw computersysteem te verwijderen. > OzTFS.com - to unsubscribe from this list, send a message back to the > list with 'unsubscribe' as the subject. View the web archives at > http://www.mail-archive.com/[email protected]/ > Powered by mailenable.com, supported by www.readify.net OzTFS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. View the web archives at http://www.mail-archive.com/[email protected]/ Powered by mailenable.com, supported by www.readify.net
