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

Add support for capturing MSBuild properties, items and target results #4329

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

Conversation

paulomorgado
Copy link
Contributor

Add support for capturing MSBuild properties, items and target results using Evaluate items and properties and display results of targets.

  • Added StandardOutputAction properties to DotNetCoreMSBuildBuilderFixture and MSBuildRunnerFixture.
  • Updated RunTool methods to pass StandardOutputAction to Build and Run methods.
  • Added new test cases in DotNetMSBuildBuilderTests and MSBuildRunnerTests to verify functionality.
  • Added overloads in DotNetAliases and MSBuildAliases to accept standardOutputAction parameter.
  • Updated DotNetMSBuildBuilder and MSBuildRunner to handle standardOutputAction and configure process settings.
  • Enhanced MSBuildArgumentBuilderExtensions to append MSBuild arguments for properties, items, and target results.
  • Extended DotNetMSBuildSettings and MSBuildSettings with new properties and collections.
  • Added extension methods in DotNetMSBuildSettingsExtensions for fluent configuration.

@paulomorgado paulomorgado force-pushed the MSBuild-GetProperty-GetItem branch from b95922c to 0333fcc Compare August 30, 2024 19:20
@paulomorgado paulomorgado force-pushed the MSBuild-GetProperty-GetItem branch 2 times, most recently from 6a074da to 76a1b2b Compare September 26, 2024 19:12
@paulomorgado
Copy link
Contributor Author

@devlead, is there anything needed here?

@devlead
Copy link
Member

devlead commented Oct 30, 2024

@devlead, is there anything needed here?

Don't know, a the moment just the maintainers' time to get bearings on what's trying to be achieved and review and understand the multiple changes introduced. Meanwhile, answers to most questions about what's expected from PRs and what to expect can be found in our Contribution Guidelines.

Introduce the ability to capture and process the standard output of MSBuild commands in the Cake build automation system.

- Added `StandardOutputAction` properties to `DotNetCoreMSBuildBuilderFixture` and `MSBuildRunnerFixture`.
- Updated `RunTool` methods to pass `StandardOutputAction` to `Build` and `Run` methods.
- Added new test cases in `DotNetMSBuildBuilderTests` and `MSBuildRunnerTests` to verify functionality.
- Added overloads in `DotNetAliases` and `MSBuildAliases` to accept `standardOutputAction` parameter.
- Updated `DotNetMSBuildBuilder` and `MSBuildRunner` to handle `standardOutputAction` and configure process settings.
- Enhanced `MSBuildArgumentBuilderExtensions` to append MSBuild arguments for properties, items, and target results.
- Extended `DotNetMSBuildSettings` and `MSBuildSettings` with new properties and collections.
- Added extension methods in `DotNetMSBuildSettingsExtensions` for fluent configuration.
@paulomorgado paulomorgado force-pushed the MSBuild-GetProperty-GetItem branch from 76a1b2b to fa9d0c6 Compare December 5, 2024 14:38
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.

2 participants