BuildingInsideExpressionBlend Post-build macro

Currently, with MSBuild I use this macro: '$(BuildingInsideExpressionBlend)'. Here is my post-build command:

if not '$(BuildingInsideVisualStudio)' == 'true' ( if not '$(BuildingInsideExpressionBlend)' == 'true' ( signfile "$(SolutionName)" "$(TargetPath)" ))

 

I tried to switch to Resharper build and I recieve the following error:

Error MSB3073: The command "if not 'True' == 'true' ( if not '' == 'true' ( signfile "<FileName>" "<dll path>" ))" exited with code 9009.

As you can tell, the expression build macro evaluated to '', whereas the other macros actually evaluated correctly (I hide the filename and dll path). Is there a work-around/alternative method for specifying this macro?

1 comment
Comment actions Permalink

Hello NadaHacker

Thank you for contacting us! Do you define the macro inside a csproj file?

Could you share a sample solution illustrating the issue? You may provide it alongside a support ticket submitted by the "Submit a Request" button above.

0

Please sign in to leave a comment.