Hello,
I want to copy a file which is under the root path of the TFS Project but not in the solution.
example : $Project1 -> Deployment -> file1.ico
$Project1 -> Main -> Source -> project.sln
In my custom TfsBuild.proj I have :
<!--
Create output for deployment purpose -->
<Target Name="AfterCompile" Condition="'$(IsDesktopBuild)'!='true'">
<Message Text="Copy icon for deployment" Importance="high"/>
<Copy SourceFiles="$(BuildProjectFolderPath)/../../Deployment/file1.ico" DestinationFolder="$(OutDir)\Deployment\" />
But it is not working :
Could not find a part of the path '$/Project1/TeamBuildTypes/Main/../../Deployment/file1.ico".
Thank you for your help
Regards,
Michaël