Skip to content
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

Invalid directory exception thrown if the VS folder path contains a space #1673

Closed
bparks13 opened this issue Feb 7, 2024 · 1 comment
Closed

Comments

@bparks13
Copy link

bparks13 commented Feb 7, 2024

When trying to run a Bonsai project in Visual Studio Community 2022, if there is a space in the folder path (i.e., "C:\Users\user\private\repo space\Bonsai") where the Bonsai executable is, the working directory is expanded to “C:\Users\user\private\repo space\project\project\bin\x64\Debug\net472\space\project\project\bin\x64\Debug” when the Bonsai process is started.

I used the portable version of Bonsai (2.8.1.4300) and placed it in the Bonsai folder.

This directory expansion does not occur if the same project is moved to a folder without any spaces in the path ("C:\Users\user\private\repo\Bonsai").

@glopesdev
Copy link
Member

Duplicate of #1402, fixed in #1442. Probably an older project which needs update to launchSettings.json file to add escaped quotes.

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

No branches or pull requests

2 participants