Add .slnx support

This commit is contained in:
Matt Parker
2025-05-18 13:45:39 +10:00
parent a6645de94f
commit 77206e76f6

View File

@@ -6,8 +6,8 @@ namespace DotNetSolutionTools.App.Services;
public class FileService
{
private readonly FilePickerFileType _csprojFileType = new("C# Project File") { Patterns = new[] { "*.csproj" } };
private readonly FilePickerFileType _slnFileType = new("C# Solution File") { Patterns = new[] { "*.sln" } };
private readonly FilePickerFileType _csprojFileType = new("C# Project File") { Patterns = ["*.csproj"] };
private readonly FilePickerFileType _slnFileType = new("C# Solution File") { Patterns = ["*.sln", "*.slnx"] };
public async Task<IStorageFile?> DoOpenFilePickerCsprojAsync()
{