Skip to content

Commit

Permalink
Order GenerateAssemblyInfo target before BeforeCompile (dotnet#10613)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat committed Feb 8, 2020
1 parent 1951672 commit 84d284c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ Copyright (c) .NET Foundation. All rights reserved.
where CoreCompile is invoked without other potential hooks such as Compile or CoreBuild,
etc., so we hook directly on to CoreCompile. Furthermore, we must run *after*
PrepareForBuild to ensure that the intermediate directory has been created.
Targets that generate Compile items are also expected to run before
BeforeCompile targets (common targets convention).
-->
<Target Name="GenerateAssemblyInfo"
BeforeTargets="CoreCompile"
BeforeTargets="BeforeCompile;CoreCompile"
DependsOnTargets="PrepareForBuild;CoreGenerateAssemblyInfo"
Condition="'$(GenerateAssemblyInfo)' == 'true'" />

Expand Down

0 comments on commit 84d284c

Please sign in to comment.