The pre- & post- build events for my C# projects are disabled as expected. However, the post build step for a C++/CLI (vcxproj) is being run. I have confirmed that the NCrunch configuration for this project has both pre- & post- build events are set to false.
Remco NCrunch Developer
#2735
29 Aug 2012 20:59 UTC
Thanks for making me aware of this. The C++/CLI build events likely use a different configuration setting and need to be disabled differently. If this is causing you problems, try adding a Condition="$(NCrunch) == ''" attribute in the property representing them in the build file. I'll see what I can do about fixing this in a future version.
Cheers,
Remco
Cheers,
Remco
I couldn't get the additional conditional PropertyGroup to work, though I'm not an MS Build expert (plus I'm not a fan of having build directives that don't appear in the project property sheet).
Instead I prefixed the post-build command with [size=8]if '$(NCrunch)'=='' which seemed to work OK.
Instead I prefixed the post-build command with [size=8]if '$(NCrunch)'=='' which seemed to work OK.
Deleted post
#2772
06 Sep 2012 03:40 UTC
Post a reply
Log in to reply.