Build fails when project path has spaces #17773

Closed
opened 2026-01-31 05:52:59 +00:00 by claunia · 2 comments
Owner

Originally created by @FANS4ever on GitHub (Jun 21, 2022).

Windows Terminal version

1.14.1451.0

Windows build number

10.0.19044.0

Other Software

No response

Steps to reproduce

Put project in a folder like "E:\Libraries\Desktop\win terminal\Terminal" and try to build.

Expected Behavior

Project builds successfully

Actual Behavior

Build fails with a load of errors

Originally created by @FANS4ever on GitHub (Jun 21, 2022). ### Windows Terminal version 1.14.1451.0 ### Windows build number 10.0.19044.0 ### Other Software _No response_ ### Steps to reproduce Put project in a folder like "E:\Libraries\Desktop\win terminal\Terminal" and try to build. ### Expected Behavior Project builds successfully ### Actual Behavior Build fails with a load of errors
Author
Owner

@zadjii-msft commented on GitHub (Jun 21, 2022):

Where's the first error? I know we've fixed a lot of these in the past

@zadjii-msft commented on GitHub (Jun 21, 2022): Where's the first error? I know we've fixed a lot of these in the past
Author
Owner

@FANS4ever commented on GitHub (Jun 21, 2022):

If i understand correctly the issue is in the file "common.nugetversions.targets"
Line 28 "<Exec Command="(Terminal_NuGetEXE) install (Terminal_GlobalPackagesConfigPath)" />"

After fixing the path(removing the space) the project builds semi successfully.

I tried it with two branches:

  1. Main
  2. Tags/v1.14.1451.0

The logs are attached:
Terminal build output log.txt
Terminal build error log.txt

@FANS4ever commented on GitHub (Jun 21, 2022): If i understand correctly the issue is in the file "common.nugetversions.targets" Line 28 "\<Exec Command="$ (Terminal_NuGetEXE) install $ (Terminal_GlobalPackagesConfigPath)" /\>" After fixing the path(removing the space) the project builds semi successfully. I tried it with two branches: 1. Main 2. Tags/v1.14.1451.0 The logs are attached: [Terminal build output log.txt](https://github.com/microsoft/terminal/files/8953075/Terminal.build.output.log.txt) [Terminal build error log.txt](https://github.com/microsoft/terminal/files/8953100/Terminal.build.error.log.txt)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17773