From 5703797bb2a400e962479e670086aca4241a77b7 Mon Sep 17 00:00:00 2001 From: toshokan Date: Sat, 12 Nov 2022 11:39:56 -0500 Subject: [PATCH] Add project-file specs for dotnet projects, find dotnet .sln files --- projectile.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projectile.el b/projectile.el index 62e1d40e6..136064454 100644 --- a/projectile.el +++ b/projectile.el @@ -3174,6 +3174,12 @@ a manual COMMAND-TYPE command is created with :run "cabal run" :test-suffix "Spec") (projectile-register-project-type 'dotnet #'projectile-dotnet-project-p + :project-file '("?*.csproj" "?*.fsproj") + :compile "dotnet build" + :run "dotnet run" + :test "dotnet test") +(projectile-register-project-type 'dotnet-sln '("src") + :project-file "?*.sln" :compile "dotnet build" :run "dotnet run" :test "dotnet test")