I used Eazfuscator to "protect" my VS project - this means Eazfuscator added a post-build event to my project that looks like this:
if /I "$(ConfigurationName)" == "Release" Eazfuscator.NET.exe [...]
I'm not sure why it's checking the ConfigurationName like that - I'm trying to obfuscate a build where ConfigurationName = ForPlayers
so this check is getting in the way.
Two questions:
- Why does Eazfuscator do this check?
- Can I make it not not do it? I could manually go into the project properties and remove it, but that's not a good idea because I'm doing this all from a script like this:
.
Eazfuscator.NET.exe --protect-project [...] # add post-build event
devenv /build [...] # build the solution
Eazfuscator.NET.exe --unprotect-project [...] # remove post-build event