Open eatdrinksleepcode opened 3 years ago
We should list out all common extensions, this will cover the 99% case.
What do we consider "supported" project types?
(There are a few more examples here.)
Also, do we only want to make this change for Mac, which has this limitation, and leave it as-is for systems that can handle the glob pattern? Or make it the same everywhere?
I'd add .proj
to handle custom project types, and I'd leave the .*proj
glob pattern if the system supports it.
yes, only change for Avalonia where it is a problem
On Mac, the dialog opened by "Open Project/Solution" allows selecting solution (*.sln) files, but not C# project (*.csproj) files (or any other project files). This seems to be because the filter for that dialog is specified as
Extensions = { "sln", "*proj" }
, but the OpenFileDialog on Mac does not recognize glob patterns.Two fixes I can think of: