Quantcast
Channel: MSBuild Extension Pack
Viewing all articles
Browse latest Browse all 1211

New Post: Checkout, Add, Checkin

$
0
0

I went with a copy instead of an Add, and have gotten this to work.  However, I've still got a hard-coded path that I need to parameterize in order to make this generic.  

    <!-- Add the files from the drop folder back to TFS and check them in.  -->    <MSBuild.ExtensionPack.VisualStudio.TfsSource TaskAction="Checkout" ItemPath="$(BinaryPath)" Version="2010" WorkingDirectory="$(SolutionRoot)" />    <Copy SourceFiles="@(FilesToAdd)" DestinationFolder="$(SolutionRoot)\Sources\Main\MT\_MTDependencies\GCBaseClasses" OverwriteReadOnlyFiles="true"/>    <MSBuild.ExtensionPack.VisualStudio.TfsSource TaskAction="Checkin" ItemPath="$(BinaryPath)" Version="2010" WorkingDirectory="$(SolutionRoot)" ContinueOnError="true" Comments="Auto-checkin" OverrideText="JR" />

Those little @ and $ symbols are important. :/


Viewing all articles
Browse latest Browse all 1211

Trending Articles