File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## [ Unreleased]
44
5+ ### Changed
6+ * Improve ` ProjectCracker ` project resolution to handle ` *.slnf ` and ` *.slnx ` . [ #1213 ] (https://github.com/fsproject
7+ s/FSharp.Formatting/pull/1213)
8+
59## [ 22.0.1] - 2026-04-19
610
711### Changed
Original file line number Diff line number Diff line change @@ -507,7 +507,14 @@ module Crack =
507507 let collectionName , projectFiles =
508508 match projects, ignoreProjects with
509509 | [], false ->
510- match Directory.GetFiles( slnDir, " *.sln" ) with
510+ let slnFiles =
511+ Directory.GetFiles( slnDir, " *.sln*" )
512+ |> Array.filter ( fun f ->
513+ f.EndsWith( " .sln" , StringComparison.Ordinal)
514+ || f.EndsWith( " .slnf" , StringComparison.Ordinal)
515+ || f.EndsWith( " .slnx" , StringComparison.Ordinal))
516+
517+ match slnFiles with
511518 | [| sln |] ->
512519 printfn " getting projects from solution file %s " sln
513520
You can’t perform that action at this time.
0 commit comments