-
Notifications
You must be signed in to change notification settings - Fork 549
[release/9.0.1xx] [msbuild] Compute DOTNET_DiagnosticPorts using MSBuild properties. #23629
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
[release/9.0.1xx] [msbuild] Compute DOTNET_DiagnosticPorts using MSBuild properties. #23629
Conversation
Co-authored-by: Jonathan Peppers <[email protected]>
Co-authored-by: Jonathan Peppers <[email protected]>
✅ [CI Build #9340760] Build passed (Build packages) ✅Pipeline on Agent |
✅ [CI Build #9340760] Build passed (Build macOS tests) ✅Pipeline on Agent |
✅ [PR Build #9340760] Build passed (Detect API changes) ✅Pipeline on Agent |
💻 [CI Build #9340760] Tests on macOS X64 - Mac Sonoma (14) passed 💻✅ All tests on macOS X64 - Mac Sonoma (14) passed. Pipeline on Agent |
💻 [CI Build #9340760] Tests on macOS M1 - Mac Monterey (12) passed 💻✅ All tests on macOS M1 - Mac Monterey (12) passed. Pipeline on Agent |
💻 [CI Build #9340760] Tests on macOS arm64 - Mac Sequoia (15) passed 💻✅ All tests on macOS arm64 - Mac Sequoia (15) passed. Pipeline on Agent |
💻 [CI Build #9340760] Tests on macOS M1 - Mac Ventura (13) passed 💻✅ All tests on macOS M1 - Mac Ventura (13) passed. Pipeline on Agent |
✅ API diff for current PR / commit.NET ( No breaking changes )✅ API diff vs stable.NET ( No breaking changes )ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #9340760] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 128 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
If you run
dotnet-dsrouter ios, it says:Setting
$DOTNET_DiagnosticPortsis non-trivial, so as a step to simplify this, we are adding multiple MSBuild properties to configure this value.This would allow the log message to say:
Since these are all default values, it can be simplified to:
Setting any of the new properties also implicitly means that
$(EnableDiagnostics)is set totrue(first example), or alternatively$(EnableDiagnostics)can be set to true to get the default value for all the new properties (second example).Ref: dotnet/android#10351
Backport of #23429.