Skip to content

Commit 03c358e

Browse files
authored
No longer activate on the presence of .sln or .slnf files
Solution files can be used for languages other than C#. Any solution file that will result in a usable C# workspace must reference .csproj files. We already search for .csproj files as part of the activation event. Resolves #5794
1 parent 04b0c59 commit 03c358e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@
957957
"onCommand:o.showOutput",
958958
"onCommand:omnisharp.registerLanguageMiddleware",
959959
"workspaceContains:project.json",
960-
"workspaceContains:**/*.{csproj,sln,slnf,csx,cake}"
960+
"workspaceContains:**/*.{csproj,csx,cake}"
961961
],
962962
"contributes": {
963963
"themes": [
@@ -5679,4 +5679,4 @@
56795679
}
56805680
]
56815681
}
5682-
}
5682+
}

0 commit comments

Comments
 (0)