diff options
| author | Bozhidar Batsov <bozhidar@batsov.dev> | 2026-02-16 08:52:35 +0200 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@batsov.dev> | 2026-02-16 08:52:35 +0200 |
| commit | f12fdae30a36e3614fa6944969bf37dec9998301 (patch) | |
| tree | 50e48b12aeb501f2fdc36259b5c93f6fc3104fe5 /projectile.el | |
| parent | dd06dfd912656d41f2c63066aa8bacb898ddf7a2 (diff) | |
Support slnx files for dotnet-sln project types (#1971)
Diffstat (limited to 'projectile.el')
| -rw-r--r-- | projectile.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/projectile.el b/projectile.el index 6c5306b..f6b7e63 100644 --- a/projectile.el +++ b/projectile.el @@ -3198,7 +3198,8 @@ it acts on the current project." "Check if a project contains a .NET solution project marker. When DIR is specified it checks DIR's project, otherwise it acts on the current project." - (or (projectile-verify-file-wildcard "?*.sln" dir))) + (or (projectile-verify-file-wildcard "?*.sln" dir) + (projectile-verify-file-wildcard "?*.slnx" dir))) (defun projectile-go-project-p (&optional dir) "Check if a project contains Go source files. @@ -3421,7 +3422,7 @@ a manual COMMAND-TYPE command is created with :run "dotnet run" :test "dotnet test") (projectile-register-project-type 'dotnet-sln #'projectile-dotnet-sln-project-p - :project-file "?*.sln" + :project-file '("?*.sln" "?*.slnx") :compile "dotnet build" :run "dotnet run" :test "dotnet test") |
