Skip to content

Fix path separator and quotation issues in MSBuild task #2547

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

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

julianbartel
Copy link
Contributor

@julianbartel julianbartel commented Jan 15, 2021

Description

There are several issues with the MSBuild task when it runs on file paths being different from usual situations.

Related Issue

Fixes #2534

Motivation and Context

The MSBuild task should be more reliable when it comes to uncommon project paths.

How Has This Been Tested?

I could not find any automated tests covering MSBuild scripts, so I simply patched my local cache of the package with the fixed .props file to see if that solves the issues I had. I doubt this is enough but I have no idea what more could be done on that.

Screenshots (if appropriate):

N/A

Checklist:

  • My code follows the code style of this project. Actually no code was changed
  • My change requires a change to the documentation. No
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes. I did not find automated tests for the .props/.targets portion. If I missed something here, let me know and I will reopen this task
  • All new and existing tests passed.

@julianbartel julianbartel marked this pull request as ready for review January 15, 2021 15:18
@arturcic arturcic added this to the 5.6.4 milestone Jan 15, 2021
@arturcic arturcic enabled auto-merge (rebase) January 15, 2021 17:07
@arturcic arturcic merged commit 9bc65df into GitTools:master Jan 15, 2021
@arturcic arturcic removed this from the 5.6.4 milestone Jan 19, 2021
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.

[Bug]Build error due to malformed file path obj\/gitversion.json
2 participants