Skip to content

Commit

Permalink
[msbuild] Print the binlog if the prebuilt app failed to build. (xama…
Browse files Browse the repository at this point in the history
…rin#18474)

This makes it easy to copy-paste the path to the binlog to open it in a
binlog viewer.
  • Loading branch information
rolfbjarne committed Jun 22, 2023
1 parent ce85073 commit aec6925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msbuild/Xamarin.HotRestart.PreBuilt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $(TOP)/tests/dotnet/%:
$(Q) $(MAKE) -C $(dir $@) $*

.build-stamp: $(wildcard Xamarin.PreBuilt.iOS/*) Makefile
$(Q_GEN) $(DOTNET) build Xamarin.PreBuilt.iOS/Xamarin.PreBuilt.iOS.csproj "/bl:$(abspath ./msbuild.binlog)" $(DOTNET_BUILD_VERBOSITY)
$(Q_GEN) if ! $(DOTNET) build Xamarin.PreBuilt.iOS/Xamarin.PreBuilt.iOS.csproj "/bl:$(abspath ./msbuild.binlog)" $(DOTNET_BUILD_VERBOSITY); then echo "Binlog: $(abspath ./msbuild.binlog)"; exit 1; fi
$(Q) touch $@

$(DOTNET_DESTDIR)/$(IOS_WINDOWS_NUGET).Sdk/tools/msbuild/iOS/Xamarin.PreBuilt.iOS.app.zip: Xamarin.PreBuilt.iOS.app.zip
Expand Down

0 comments on commit aec6925

Please sign in to comment.