Created
July 15, 2015 15:54
-
-
Save kzu/8edb1f706eb20ed04d98 to your computer and use it in GitHub Desktop.
XBuild Returns
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
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) |
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
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) |
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 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