Created
November 27, 2017 14:32
-
-
Save deejaygraham/4656cc4ec71c7a12854b38719c325247 to your computer and use it in GitHub Desktop.
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
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<UsingTask TaskName="SetTFSVariable" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll"> | |
<ParameterGroup> | |
<Name ParameterType="System.String" Required="true" /> | |
<Value ParameterType="System.String" Required="true" /> | |
</ParameterGroup> | |
<!-- https://github.com/Microsoft/vsts-tasks/blob/master/docs/authoring/commands.md --> | |
<Task> | |
<Using Namespace="System" /> | |
<Code Type="Fragment" Language="cs"> | |
<![CDATA[ | |
Log.LogMessage(MessageImportance.Normal, "##vso[task.setvariable variable={0};]{1}", Name, Value); | |
]]> | |
</Code> | |
</Task> | |
</UsingTask> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment