terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Error while building in directory with spaces

Open Haaziq386 opened this issue 1 year ago • 4 comments

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)

Haaziq386 avatar Oct 14 '24 22:10 Haaziq386

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

DHowett avatar Oct 14 '24 22:10 DHowett

Thanks for finding this!

DHowett avatar Oct 14 '24 22:10 DHowett

@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 avatar Oct 14 '24 22:10 Haaziq386

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 avatar Oct 16 '24 21:10 carlos-zamora

@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 avatar Oct 27 '24 05:10 Haaziq386