Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

1.41b: Post build step being run for vcxproj.
andrewb
#1 Posted : Wednesday, August 29, 2012 6:53:39 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/29/2012(UTC)
Posts: 4

Was thanked: 1 time(s) in 1 post(s)
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
#2 Posted : Wednesday, August 29, 2012 8:59:16 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
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
andrewb
#3 Posted : Wednesday, August 29, 2012 9:38:09 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/29/2012(UTC)
Posts: 4

Was thanked: 1 time(s) in 1 post(s)
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 if '$(NCrunch)'=='' which seemed to work OK.
1 user thanked andrewb for this useful post.
Remco on 8/30/2012(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download