Hi,
My requirement is as below:
"User should be provided an option to include a binary dll in the project.
Ifthe userselects the checkbox,the dll should be added as reference to the project when project unfolds otherwise not"
As such I have added a recipe argument(UserInputStringValue) to get the user input and based on that value,I tried to add the reference in the project's template file.
Here is the snippet I have added in the cs.proj file:
<Reference Include="SampleTest" Condition=" '$(UserInputStringValue) == 'true' ">
<HintPath>$DependenciesPath$\SampleTest.dll</HintPath>
</Reference>
The problem is when the project unfolds UserInputStringValue is always shown as "".
Could someone help me in this?
Can someone suggest me any other way of doing this?
Your help is highly appreciated.
Thanks in advance,
-Chandra