Skip to content

Conversation

@rokonec
Copy link
Member

@rokonec rokonec commented Jun 21, 2022

Context

We were joining dotnet "string[] args" into string, but there were issues with escaping spaces and such in file paths.

Changes Made

After analyze we have realized that best way is to pass command line as string[] to dotnet MSBuild Server.
This generate problems with readability due to few #ifdef but without extensive refactoring there is no way around. If this pose issue in future we can refactor this. I would recommend IMultiPlatformCommandLine layer with two implementations.

Testing

Manual.

@rokonec rokonec changed the title Rokonec/msbuild server/fix arguments passing Fix arguments passing to MSBuild Server Jun 21, 2022
@rokonec rokonec requested a review from AR-May June 21, 2022 14:17
@rokonec rokonec mentioned this pull request Jun 21, 2022
Copy link
Member

@AR-May AR-May left a comment

Choose a reason for hiding this comment

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

LGTM

@rokonec rokonec merged commit dec0fbc into dotnet:feature/msbuild-server Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants