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

illegal characters in path #2383

Closed
Zedonboy opened this issue Jul 30, 2017 · 8 comments
Closed

illegal characters in path #2383

Zedonboy opened this issue Jul 30, 2017 · 8 comments

Comments

@Zedonboy
Copy link

Zedonboy commented Jul 30, 2017

my windows build number = Creators Update

I want to debug linux application with WSL in visual studio

after following all tutorial video verbatim, none showed this error/ it meant to compile my hello world

Exception occured
while copying
sources to remote
machine-illegal characters
in path
@therealkenc
Copy link
Collaborator

therealkenc commented Jul 30, 2017

Is your project location c:\connect and the project name ConsoleApplication2 per the video?

[edit] Named it "Hello World", didntcha.

@benhillis
Copy link
Member

@Zedonboy - Could you please fill out our issue template? We do not have enough information to reproduce this issue.

@therealkenc
Copy link
Collaborator

@benhillis The repro is create a project name with a space in it, in Visual Studio. That error message comes is in the MSVS output view. As dogfood, whoever maintains WSL's init could use MSVS for Linux, change the project name to wsl init (with resulting space in the executable), and you'll get the fail.

@benhillis
Copy link
Member

@therealkenc - Ok, so this isn't a WSL issue than but a Visual Studio issue.

@therealkenc
Copy link
Collaborator

therealkenc commented Aug 1, 2017

Full disclosure I couldn't 100% confirm the behaviour on Real Linux because I upgraded my VM to Zesty, which doesn't appear to be supported for gdb reasons. But yes it sounds like the MSVC guys are just missing some quoting in their ssh command(s). Either way, ConsoleApplication2 works with WSL per the video.

@Zedonboy
Copy link
Author

Zedonboy commented Aug 1, 2017

Well i have solved it........................
first i change "~/project" to "project" at the project environmental variables at the Remote directory
Previously i used Echo_Server as the name of my app....i guess thats a wrong naming convention.
i removed the hyphen it becomes "EchoServer"
Thank you @benhillis @therealkenc. am grateful for your concern. :()

@therealkenc
Copy link
Collaborator

Might be worth posting over in the Visual Studio Feedback Center, if you feel like it. They do appear to act on the feedback there. Echo_Server is of course a perfectly valid name.

@Zedonboy
Copy link
Author

Zedonboy commented Aug 1, 2017

actually if you change the environmental variable only, another error will be generated
cannot create directories mkdir exit code 1
soo thats why i removed the hyphen from the name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants