Mickeys
asked on
Msbuild with Regex
I am trying to write a target that looks at a svn_tag and sees if that includes the word -dev. I have done like below but I only get the output like this:
Regex:
12:40:44 Input : Build-1.0.0.154 Output :
<Target Name="Regex">
<PropertyGroup>
<Out>$([System.Text.Regula rExpressio ns.Regex]: :Match($(S VN_TAG), `-dev`))</Out>
</PropertyGroup>
<Message Text="Input : $(SVN_TAG) Output : $(Out)"/>
</Target>
How can I do this? Just need true or false answer.
Regex:
12:40:44 Input : Build-1.0.0.154 Output :
<Target Name="Regex">
<PropertyGroup>
<Out>$([System.Text.Regula
</PropertyGroup>
<Message Text="Input : $(SVN_TAG) Output : $(Out)"/>
</Target>
How can I do this? Just need true or false answer.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.