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 Server] Forward console output to CLI #6466

Closed
rokonec opened this issue May 20, 2021 · 1 comment
Closed

[MSBuild Server] Forward console output to CLI #6466

rokonec opened this issue May 20, 2021 · 1 comment
Assignees
Labels
performance Performance-Scenario-Build This issue affects build performance. triaged
Milestone

Comments

@rokonec
Copy link
Member

rokonec commented May 20, 2021

Console output of MSBuild Server has to be redirected to calling CLI.
As opposed to child process, where such redirection is done by OS, handling of non-child processes outputs has to be coded.

Work breakdown:

  • define message for console output containing text, foreground and background color
  • capture console output in MSBuild Server (text, foreground and background color)
  • send captured output by named pipe for each line, accumulated text > 200 characters or when console colors changes.
  • receive message in CLI and print it to console.
@rokonec rokonec added performance Performance-Scenario-Build This issue affects build performance. labels May 20, 2021
@rokonec rokonec self-assigned this May 20, 2021
@rokonec rokonec mentioned this issue May 20, 2021
7 tasks
@rokonec
Copy link
Member Author

rokonec commented Jun 21, 2021

Works as a breeze - even with console coloring :-)

Implemented and parked into https://github.com/dotnet/msbuild/tree/feature/msbuild-server-v2--parked

Work left:

  • unit tests
  • refactoring and cleaning

@rokonec rokonec closed this as completed Jun 21, 2021
@ladipro ladipro added this to the VS 17.0 milestone Dec 8, 2021
@AR-May AR-May added the triaged label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance-Scenario-Build This issue affects build performance. triaged
Projects
None yet
Development

No branches or pull requests

3 participants