This is actually an answer, not a question. Since this place is a bit of a ghost town, maybe this will help the next guy.

I used to successfully run the Tamper-Resistant-Licensing post-processing feature all the time for my builds in Visual Studio 2012, 2013, and 2015. Unfortunately in a Visual Studio 2017 debug build, it failed. The TRA_GEN.EXE executable would crash with an obscure exit code.

The solution was to change all of my project settings

In Linker >>Debugging >> Generate Debug Info


"Generate Debug Info Optimized for sharing and debugging (/DEBUG:FULL)"

Merely using /DEBUG or /DEBUG:FastLink is not good enough