Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[msbuild] Default 'BundlerDebug' to 'true' if no other option is set and we're building for a 'Debug' configuration. #9247

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

rolfbjarne
Copy link
Member

It's somewhat of a breaking change, since previously Xamarin.Mac would default
to 'false' if no value was set. It should be exceedingly rare though, since
it's set in all the template projects.

It makes the behavior a bit more intuitive for .NET projects, since then the
values might not be set because of the simplified project files.

…and we're building for a 'Debug' configuration.

It's somewhat of a breaking change, since previously Xamarin.Mac would default
to 'false' if no value was set. It should be exceedingly rare though, since
it's set in all the template projects.

It makes the behavior a bit more intuitive for .NET projects, since then the
values might not be set because of the simplified project files.
@rolfbjarne rolfbjarne requested review from chamons and emaf as code owners July 30, 2020 15:16
@rolfbjarne rolfbjarne added not-notes-worthy Ignore for release notes skip-public-jenkins Completely skip execution in the public Jenkins instance run-internal-tests If tests should be executed on the internal Jenkins instance. labels Jul 30, 2020
@monojenkins
Copy link
Collaborator

Build success
ℹ️ Skipped execution

@xamarin-release-manager
Copy link
Collaborator

Build was (probably) aborted

🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Test run' 🔥

Provisioning succeeded
Build succeeded
✅ Packages built successfully

View packages

API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
🔥 Test run failed 🔥

Test results

2 tests failed, 182 tests passed.

Failed tests

  • [NUnit] Mono BCL tests group 2/tvOS - simulator/Debug: Failed
  • Generator tests/.NET: HarnessException (Harness exception for 'Generator tests': System.IO.FileNotFoundException: Could not find file "/Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/jenkins-results/tests/bgen-tests/355/build-iOS-20200731_040740.txt"
    File name: '/Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/jenkins-results/tests/bgen-tests/355/build-iOS-20200731_040740.txt'
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00259] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.IO/FileStream.cs:274
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.IO/FileStream.cs:91
    at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at Microsoft.DotNet.XHarness.iOS.Shared.Logging.LogFile.GetReader () [0x00001] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/Logging/LogFile.cs:58
    at Xharness.TestTasks.RunTest.BuildAsync () [0x00240] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tests/xharness/TestTasks/RunTest.cs:71
    at Xharness.TestTasks.RunTest.ExecuteAsync () [0x000d8] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tests/xharness/TestTasks/RunTest.cs:97
    at Microsoft.DotNet.XHarness.iOS.Shared.Tasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/Tasks/TestTask.cs:283 )

@rolfbjarne
Copy link
Member Author

@rolfbjarne rolfbjarne merged commit d9295b1 into main Jul 31, 2020
@rolfbjarne rolfbjarne deleted the msbuild-debug-bundler branch July 31, 2020 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-notes-worthy Ignore for release notes run-internal-tests If tests should be executed on the internal Jenkins instance. skip-public-jenkins Completely skip execution in the public Jenkins instance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants