Remove SlnFile references#45442
Conversation
f367673 to
e1d98ce
Compare
ab898f4 to
1627d33
Compare
|
|
||
| private static IEnumerable<string> FindSolutionFiles(string basePath) => Directory.EnumerateFileSystemEntries(basePath, "*.sln", SearchOption.TopDirectoryOnly) | ||
| .Concat(Directory.EnumerateFileSystemEntries(basePath, "*.slnf", SearchOption.TopDirectoryOnly)); | ||
| private static IEnumerable<string> FindSolutionFiles(string basePath) => [ |
There was a problem hiding this comment.
we can return string[] and use the array all the way to avoid .ToList in the end. it makes an unnecessary copy in FindMatchingFile to find count
Co-authored-by: kasperk81 <83082615+kasperk81@users.noreply.github.com>
258a269 to
24b44dc
Compare
jasonmalinowski
left a comment
There was a problem hiding this comment.
Signing off for the MSBuildWorkspaceFinder.cs change which is owned by roslyn-ide; the rest is unreviewed.
|
@dotnet/source-build I have removed project |
Error is: I believe you will have to update source-build.slnf to reflect that you've removed |
SlnFileis being replaced by vs-solutionpersistence as part of the efforts for .slnx supportThis should be replaced in all remaining places it might be used
Contributes #40913