Skip to content

Fixing configuration for MRT #5671

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

guimafelipe
Copy link
Contributor

Fixes #5034

A microsoft employee must use /azp run to validate using the pipelines below.

WARNING:
Comments made by azure-pipelines bot maybe inaccurate.
Please see pipeline link to verify that the build is being ran.

For status checks on the main branch, please use TransportPackage-Foundation-PR
(https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary)
and run the build against your PR branch with the default parameters.

@guimafelipe
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@guimafelipe guimafelipe requested review from ssparach and kythant August 1, 2025 16:53
@guimafelipe guimafelipe marked this pull request as ready for review August 4, 2025 15:43
@guimafelipe guimafelipe requested a review from lauren-ciha August 4, 2025 15:54
@@ -220,9 +220,9 @@ Try {
{
foreach($platformToRun in $platform.Split(","))
{
write-host "Building MrtCore.sln for configuration $configurationToRun and platform:$platformToRun"
write-host "Building MrtCore.sln for configuration $configurationForMrtAndAnyCPU and platform:$platformToRun"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using $configurationForMrtAndAnyCPU here results in the MRTCore solution being built only with the Release configuration, as the value appears to be hardcoded. Is building MRTCore with the Debug configuration an unsupported or intentionally disabled scenario?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my understanding, the entire code uses the Release configuration for MrtCore solution. This was the only place where it was different. This change is coherent with the rest of the script. I would like to confirm that with @kythant as the intended behavior.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$configurationForMrtAndAnyCPU was used in staging the files over to the NuGet. While it's valid that we are throwing away the Debug binaries after building them, we don't really make use of the debug binaires from MRTCore. Hence, either we keep building Debug just to build Debug or we also delete the foreach loop for the configuration on line 219.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BuildAll.ps1 failed on Debug configuration due to missing MRM.dll
3 participants