if the source file exists.
svn path=/trunk/mcs/; revision=155186
+2010-04-10 Ankit Jain <jankit@novell.com>
+
+ * xbuild/Microsoft.Common.targets (DeployOutputFiles): Copy only
+ if the source file exists.
+
2010-04-10 Ankit Jain <jankit@novell.com>
* xbuild/3.5/Microsoft.Common.tasks:
<Output TaskParameter="DestinationFiles" ItemName="FileWrites"/>
</Copy>
- <Copy SourceFiles="@(IntermediateAssembly)" Condition="'$(OutDir)' != ''" DestinationFolder="$(OutDir)" SkipUnchangedFiles="true">
+ <Copy SourceFiles="@(IntermediateAssembly)" Condition="'$(OutDir)' != '' and Exists ('@(IntermediateAssembly)')" DestinationFolder="$(OutDir)" SkipUnchangedFiles="true">
<Output TaskParameter="DestinationFiles" ItemName="FileWrites"/>
</Copy>