Copy empty Directory.Build.props to artifacts folder during build instead of checking it in
(cherry picked from commit 884a48372d
)
This commit is contained in:
parent
dd4a1b5121
commit
ee7852a790
2 changed files with 7 additions and 4 deletions
|
@ -1,3 +0,0 @@
|
||||||
<Project>
|
|
||||||
<!-- Empty Directory.Build.props file to prevent test asset projects from picking up the repo's Directory.Build.props' -->
|
|
||||||
</Project>
|
|
|
@ -4,7 +4,7 @@
|
||||||
<Import Project="prepare/CheckPrereqs.targets" />
|
<Import Project="prepare/CheckPrereqs.targets" />
|
||||||
|
|
||||||
<Target Name="Prepare"
|
<Target Name="Prepare"
|
||||||
DependsOnTargets="Init;DownloadHostAndSharedFxArtifacts;RestoreSrcPackages;RestoreToolsPackages" />
|
DependsOnTargets="Init;DownloadHostAndSharedFxArtifacts;RestoreSrcPackages;RestoreToolsPackages;IsolateArtifactsFromDirectoryBuildFiles" />
|
||||||
|
|
||||||
<Target Name="Init"
|
<Target Name="Init"
|
||||||
DependsOnTargets="PrintBuildInfo;
|
DependsOnTargets="PrintBuildInfo;
|
||||||
|
@ -98,4 +98,10 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="IsolateArtifactsFromDirectoryBuildFiles">
|
||||||
|
<Copy SourceFiles="$(RepoRoot)TestAssets\Directory.Build.props"
|
||||||
|
DestinationFolder ="$(RepoRoot)artifacts"
|
||||||
|
SkipUnchangedFiles="true" />
|
||||||
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in a new issue