Skip to content

Commit d8d2580

Browse files
committed
Restored support for .fsproj project files
1 parent 5a193ff commit d8d2580

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Aspire.Cli/Projects/ProjectLocator.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,12 @@ await Parallel.ForEachAsync(appHostFiles, parallelOptions, async (candidateFile,
351351
logger.LogDebug("Using project file {ProjectFile}", projectFile.FullName);
352352
return projectFile;
353353
}
354+
// Handle .fsproj files
355+
else if (projectFile.Extension.Equals(".fsproj", StringComparison.OrdinalIgnoreCase))
356+
{
357+
logger.LogDebug("Using project file {ProjectFile}", projectFile.FullName);
358+
return projectFile;
359+
}
354360
// Reject other extensions
355361
else
356362
{

0 commit comments

Comments
 (0)