-
Notifications
You must be signed in to change notification settings - Fork 653
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
Quote GitVersionFileExe for profile paths with spaces. #2566
Conversation
CC: @asbjornu |
The tests are breaking, have you investigated why? |
Exact same change in #2558. I suppose both have the same blocker for merging: The tests are broken by this and haven't been updated. |
Yeah, we'll have to investigate why that suddenly started failing, @bddckr. |
Oh it's just a test failure really:
That is due to the double quoting now I think. I wanted to suggest just moving the quotations this fix adds to the definition of the property instead of its usage, but that feels wrong. The property might not always be used in a way that it should be quoted.
Either that's fine, or perhaps we could introduce another property like |
I'll see if i can get the tests fixed appropriately. |
@LeeShape thank you so much for your contributions 👍 |
Fixes #2558 |
Thanks a lot for looking into this PR and get it merged so quickly! ❤️ |
Description
GitVersion.MsBuild 5.6.4 breaks my build because my profile directory includes spaces in it.
Related Issue
Fixes #2555 Fixes #2540 #2541 (Duplicate of #2558)
Motivation and Context
It solves profile paths with spaces because my username on my machine has spaces.
How Has This Been Tested?
Manually modified the file GitVersion.MsBuild.targets inside the NuGet Packages folder.
dotnet build
Screenshots (if appropriate):
Hmm...
Checklist: