DirectorySeparator Windows vs Mac issue #908
Unanswered
leigh-pointer
asked this question in
Ideas
Replies: 1 comment
-
We may want to consider using Path.AltDirectorySeparatorChar. In the Remarks for DirectorySeparatorChar, they suggest using the AltDirectorySeparatorChar for multiple platform development. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been exploring using the Mac and VS to develop on Oqtane.
The first issue I came in to was the file path separator in the ModuleCreator. Using the constant string value of "\\" will break the code as the file path separator for the Mac is "/" when the module is created.
Solution would be to use the .net constant Path.DirectorySeparatorChar using System.IO
Scanning the Solution for this constant "\\" resulted 7 counts in the Clients and Server projects.
Beta Was this translation helpful? Give feedback.
All reactions