Error while building in directory with spaces #22398

Closed
opened 2026-01-31 08:12:05 +00:00 by claunia · 5 comments
Owner

Originally created by @Haaziq386 on GitHub (Oct 14, 2024).

Windows Terminal version

1.20.11781.0

Windows build number

10.0.22631.4317

Other Software

No response

Steps to reproduce

Followed the steps for building
1)cloned the repo in VS 2022
2)ran the git submodules command
3)double tapped OpenConsole.sln file
4)followed the steps for debugging and after the process got completed it threw me errors

Expected Behavior

Everything to work fine ig i would be able to start debugging the terminal

Actual Behavior

Image

i got 5 errors (& several warnings)

Originally created by @Haaziq386 on GitHub (Oct 14, 2024). ### Windows Terminal version 1.20.11781.0 ### Windows build number 10.0.22631.4317 ### Other Software _No response_ ### Steps to reproduce Followed the steps for building 1)cloned the repo in VS 2022 2)ran the git submodules command 3)double tapped OpenConsole.sln file 4)followed the steps for debugging and after the process got completed it threw me errors ### Expected Behavior Everything to work fine ig i would be able to start debugging the terminal ### Actual Behavior ![Image](https://github.com/user-attachments/assets/5c28261a-9916-4170-96f8-d9837ab20278) i got 5 errors (& several warnings)
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:12:05 +00:00
Author
Owner

@DHowett commented on GitHub (Oct 14, 2024):

Ah, this might be an issue with using a path with spaces in it. Can you see if it works in C:\test?

@DHowett commented on GitHub (Oct 14, 2024): Ah, this might be an issue with using a path with spaces in it. Can you see if it works in `C:\test`?
Author
Owner

@DHowett commented on GitHub (Oct 14, 2024):

Thanks for finding this!

@DHowett commented on GitHub (Oct 14, 2024): Thanks for finding this!
Author
Owner

@Haaziq386 commented on GitHub (Oct 14, 2024):

@DHowett

Ah, this might be an issue with using a path with spaces in it. Can you see if it works in C:\test?

Image

still getting the error

some of the errors is mentioning execution possibly it's related to my execution policy. I checked it is set to restricted
Image

@Haaziq386 commented on GitHub (Oct 14, 2024): @DHowett > Ah, this might be an issue with using a path with spaces in it. Can you see if it works in `C:\test`? ![Image](https://github.com/user-attachments/assets/9ce29269-2049-40b2-9bc1-98c5e9dce4e7) still getting the error some of the errors is mentioning execution possibly it's related to my execution policy. I checked it is set to restricted ![Image](https://github.com/user-attachments/assets/95346e42-7211-42b5-9944-b510f14f9ba0)
Author
Owner

@carlos-zamora commented on GitHub (Oct 16, 2024):

You should be able to change the execution policy via Set-ExecutionPolicy.

Did it end up being an issue with the execution policy?

@carlos-zamora commented on GitHub (Oct 16, 2024): You should be able to change the execution policy via [Set-ExecutionPolicy](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.4). Did it end up being an issue with the execution policy?
Author
Owner

@Haaziq386 commented on GitHub (Oct 27, 2024):

@carlos-zamora actually no i did change my execution policy to remotesigned once and unrestricted later but both still gave the same error(the errors) did not change.
So i tried rebuilding the "OpenConsole" folder but that just gave more errors.
Any solution you know about that can help me with this?

@Haaziq386 commented on GitHub (Oct 27, 2024): @carlos-zamora actually no i did change my execution policy to remotesigned once and unrestricted later but both still gave the same error(the errors) did not change. So i tried rebuilding the "OpenConsole" folder but that just gave more errors. Any solution you know about that can help me with this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22398