InjectModuleInitializer icon indicating copy to clipboard operation
InjectModuleInitializer copied to clipboard

Inject not performed when build updates the target

Open mford1 opened this issue 6 years ago • 0 comments

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.

mford1 avatar Feb 25 '19 23:02 mford1