Skip to content

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

Merged
rolfbjarne merged 1 commit into
mainfrom
msbuild-debug-bundler
Jul 31, 2020
Merged

[msbuild] Default 'BundlerDebug' to 'true' if no other option is set and we're building for a 'Debug' configuration.#9247
rolfbjarne merged 1 commit into
mainfrom
msbuild-debug-bundler

Conversation

@rolfbjarne

Copy link
Copy Markdown
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
Copy Markdown
Contributor

Build success
ℹ️ Skipped execution

@xamarin-release-manager

Copy link
Copy Markdown
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
Copy Markdown
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