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

mismatch between project path created and used in solution file #41

Closed
ajeckmans opened this issue Jul 1, 2023 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@ajeckmans
Copy link

ajeckmans commented Jul 1, 2023

I just created a folder with dashes in it on linux named some-name. Then ran dotnet new bolero-app. The solution file created contained the following:

Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{87F6C079-CBD7-4866-BDEB-CBDEA9E51D2A}"
EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "some_name.Server", "src\some_name.Server\some_name.Server.fsproj", "{4E2AA925-4694-4593-ADBC-F349D269587A}"
EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "some_name.Client", "src\some_name.Client\some_name.Client.fsproj", "{1481BBD6-A6DA-4912-A03A-134880D14701}"
EndProject

on disk this file structure was created:

some-name.Client.sln
src/some-name.Client/some-name.Client.fsproj
src/some-name.Server/some-name.Server.fsproj

Note the backslash instead of forward slash and the underscore instead of hyphen inside the solution file.

@Tarmil Tarmil added the bug Something isn't working label Jul 1, 2023
@sledorze
Copy link

sledorze commented Oct 9, 2023

Same experience on Mac

@Tarmil
Copy link
Member

Tarmil commented Nov 1, 2023

The underscore instead of dash is indeed a problem, I'll push a fix for it soon.

Backslashes in project and solution files are fine, MSBuild can translate them to the native path separator for your OS.

@Tarmil Tarmil closed this as completed in d862add Nov 2, 2023
@sledorze
Copy link

sledorze commented Nov 2, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants