VS.Net Solution Set Preprocessor Value

Hi

I have a Visual Studio C++ project which sets a Preprocessor value when I need extended logging. Is it possible for FB to set/unset Preprocessor values, so that I can use it to switch off this logging in a release build?

I’ve looked through the options, but can’t see if it’s possible…

Andy

Hi Andy

You can use the ExtraCmdLineParams option, which is available from the Action Properties Tab (use the view menu to show it). This adds to the command line passed to msbuild or devenv.com (depending on whether you have Use MSBuild checked or not).

The other option if it’s supported via MSBuild is to use the Project Properties on the MSBuild tab of the action properties dialog.

1 Like