InjectModuleInitializer
InjectModuleInitializer copied to clipboard
Inject not performed when build updates the target
I have a project that builds Debug/Release for x86/x64 targets. If you do a batch build on all platforms and configurations for the project, three of the targets get overwritten with the pre-injected versions and the Inject is never called. The one that doesn't get overwritten is the currently selected target ("Debug/x86" for example).
I don't know the msbuild configurations well enough to know what to suggest here, but I reverted back to 1.5 where the behavior is to always inject when the build is updated.