This project has moved and is read-only. For the latest updates, please go here.

Define WhiteTieEnabled Property


Define a WhiteTieEnabled property to simplify enabling White Tie's out-of-the-box configurations for different solution configurations; e.g., users should be able to add the following to their project file:
<WhiteTieEnabled Condition=" '$(Configuration)' == 'MyCustomConfig' ">True</WhiteTieEnabled>
To accomplish this goal, replace all occurrences of '$(Configuration)' == 'Release' conditions found throughout White Tie's props and targets files with '$(WhiteTieEnabled)' == True. Then set the default value in the props file to:
<WhiteTieEnabled Condition=" '$(WhiteTieEnabled)' == '' AND '$(Configuration)' == 'Release' ">True</WhiteTieEnabled>
<WhiteTieEnabled Condition=" '$(WhiteTieEnabled)' == '' ">False</WhiteTieEnabled>