Created
November 18, 2011 14:14
-
-
Save stimms/1376551 to your computer and use it in GitHub Desktop.
MSBuild file which redefines a property
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<Target Name="Build"> | |
<CreateProperty Value="firstValue"> | |
<Output | |
TaskParameter="Value" PropertyName="LocalProp" /> | |
</CreateProperty> | |
<Message Text="New value: $(LocalProp)" /> | |
<CreateProperty Value="secondValue"> | |
<Output | |
TaskParameter="value" PropertyName="LocalProp" /> | |
</CreateProperty> | |
<Message Text="New value: $(LocalProp)" /> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment