OutputPath meaning for TFS build

Topics: Server Deployment
Sep 17, 2014 at 2:58 PM
Hello,

I have read documentation but haven't found what does property OutputPath in BTDFproj do?:
 <OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Debug\</OutputPath>
<OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
Does it refer to the location of dll for example, if its specified it will override the "..\HelloWorld\bin\$(Configuration)" location inside?:
<ItemGroup>
<Schemas Include="HelloWorld.dll">
  <LocationPath>..\HelloWorld\bin\$(Configuration)</LocationPath>
</Schemas>
</ItemGroup>
Coordinator
Sep 17, 2014 at 3:19 PM
It controls where the MSI is created.

Tom
Sep 17, 2014 at 8:42 PM
Thank you for answer Tom,

Do you think that there is some possibility how to use two different LocationPath values? TFS is placing DLLs into some specific location, on local development machine its different than TFS, thats why I asked.

For example:

<Schemas Include="HelloWorld.dll">
<LocationPath>..\HelloWorld\bin\$(Configuration)</LocationPath>
</Schemas>

LocationPath should have different value for TFS and different for Developer's machine.
Coordinator
Sep 19, 2014 at 4:35 AM
That's the reason for the necessary customization to the TFS build default template. It was much easier prior to TFS 2010 when all it took was a simple MSBuild property setting. Now it requires a small modification to the WF build template. See here.

Thanks,
Tom