3 <UsingTask TaskName="GenDummyTask" AssemblyFile="$(MSBuildThisFileDirectory)..\tools\bin\GenDummy.Tasks\GenDummy.Tasks.dll" />
5 <Target Name="CopyToArtifactsDirectory"
6 Condition="'$(ArtifactsDirectory)' != ''"
7 DependsOnTargets="GetCopyToOutputDirectoryItems">
9 <OutputFilesToCopy Include="$(OutDir)**" />
11 <Copy SourceFiles="@(OutputFilesToCopy)"
12 DestinationFiles="$(ArtifactsDirectory)%(RecursiveDir)%(Filename)%(Extension)" />
15 <Target Name="CopyToDummyArtifactsDirectory"
16 DependsOnTargets="GetCopyToOutputDirectoryItems">
17 <Copy SourceFiles="$(TargetPath)"
18 DestinationFiles="$(OutputDummyDir)$(TargetFileName)" />
21 <Target Name="BeforeCompile"
22 Condition="'$(IsDummyBuild)' == 'True'">
23 <GenDummyTask Sources="@(Compile)" OutputDirectory="$(IntermediateOutputPath)dummy\">
24 <Output TaskParameter="GeneratedFiles" ItemName="_DummyCompile" />
27 <Compile Remove="@(Compile)" />
28 <Compile Include="@(_DummyCompile)" />