Skip to content

Commit

Permalink
Fix FileVersionInfo build
Browse files Browse the repository at this point in the history
I was trying to copy the referenced assembly too soon in the build. Need to move the target to later in the build.


Commit migrated from dotnet/corefx@53d5973
  • Loading branch information
eerhardt committed Jun 19, 2018
1 parent 96c6a1b commit 2003fd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</ProjectReference>
</ItemGroup>
<Target Name="MangleTestAssemblyExtension"
AfterTargets="CopyFilesToOutputDirectory">
AfterTargets="PrepareForRun">
<!-- Copy TestAssembly to file without .dll extension so that ILC preserves it as a data file rather than feeding it to the output executable. -->
<Copy SourceFiles="$(TestPath)\System.Diagnostics.FileVersionInfo.TestAssembly.dll" DestinationFiles="$(TestPath)\System.Diagnostics.FileVersionInfo.TestAssembly.ildll" />
</Target>
Expand Down

0 comments on commit 2003fd3

Please sign in to comment.