Re: Eureka log link issue
Posted: Wed Dec 01, 2021 5:27 pm
No, you'll have to do something different for 64-bit builds. Actually, I recommend this new approach for both 32-bit and 64-bit.
1. In TCTargetsXX.targets, locate the LinkDependsOnTargets at the top of the file and replace it with:
2. At the bottom of the file, add the following:
This will invoke the EurekaLog process after every link for all platforms.
1. In TCTargetsXX.targets, locate the LinkDependsOnTargets at the top of the file and replace it with:
Code: Select all
<LinkDependsOnTargets Condition="'$(Platform)'=='Win32'">
_ResolveOutput;
CreateDirectories;
PreLinkEvent;
TCPerformLink;
TCPostLink
</LinkDependsOnTargets>
<LinkDependsOnTargets Condition="'$(Platform)'!='Win32'">
_ResolveOutput;
CreateDirectories;
PreLinkEvent;
_PerformLink;
TCPostLink
</LinkDependsOnTargets>
2. At the bottom of the file, add the following:
Code: Select all
<Target Name="TCPostLink">
<Exec
Condition="'$(TLibLink)'!='true' And ('@(OutputOutOfDate)'!='' Or '$(ForceLink)'=='true')"
Command="ecc32.exe --el_alter_exe=$(MSBuildProjectFullPath)"
/>
</Target>