Skip to content

Instantly share code, notes, and snippets.

@kzu
Created July 15, 2015 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kzu/8edb1f706eb20ed04d98 to your computer and use it in GitHub Desktop.
Save kzu/8edb1f706eb20ed04d98 to your computer and use it in GitHub Desktop.
XBuild Returns
W:\>msbuild xbuild.proj
Microsoft (R) Build Engine version 12.0.31101.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 15/07/2015 12:53:04 p.m..
Project "W:\xbuild.proj" on node 1 (default targets).
Build:
Value: Foo
Done Building Project "W:\xbuild.proj" (default targets).
Build succeeded.
0 Warning(s)
0 Error(s)
KzuMac-2:Developer kzu$ xbuild xbuild.proj
XBuild Engine Version 12.0
Mono, Version 4.0.2.0
Copyright (C) 2005-2013 Various Mono authors
Build started 7/15/2015 12:53:07 PM.
__________________________________________________
Project "/Developer/xbuild.proj" (default target(s)):
Target Build:
Value: Foo
Done building project "/Developer/xbuild.proj".
Build succeeded.
0 Warning(s)
0 Error(s)
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="Build">
<MSBuild Projects="$(MSBuildThisFileFullPath)" Targets="GetValue">
<Output TaskParameter="TargetOutputs" PropertyName="Value"/>
</MSBuild>
<Message Importance="high" Text="Value: $(Value)" />
</Target>
<Target Name="GetValue" Returns="Foo" />
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment