3 <UsingTask TaskName="GenDummyTask" AssemblyFile="$(MSBuildThisFileDirectory)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'">
24 <GenDummyTask Sources="@(Compile)" OutputDirectory="$(IntermediateOutputPath)dummy\">
25 <Output TaskParameter="GeneratedFiles" ItemName="_DummyCompile" />
28 <Compile Remove="@(Compile)" />
29 <Compile Include="@(_DummyCompile)" />