Skip to content

Commit 0d75c08

Browse files
committed
Also parse referenced VB projects
1 parent cc378fb commit 0d75c08

File tree

1 file changed

+2
-1
lines changed
  • src/fsharp/FSharp.Compiler.Service.ProjectCracker.Exe

1 file changed

+2
-1
lines changed

src/fsharp/FSharp.Compiler.Service.ProjectCracker.Exe/Program.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,8 @@ module Program =
380380
if runningOnMono then
381381
[| yield! Array.map (fun (s,_) -> "-r:" + s) referencedProjectOptions
382382
for file in parsedProject.ProjectReferences do
383-
if Path.GetExtension(file) = ".csproj" then
383+
let ext = Path.GetExtension(file)
384+
if ext = ".csproj" || ext = ".vbproj" then
384385
let parsedProject = FSharpProjectFileInfo.Parse(file, properties=properties, enableLogging=false)
385386
match parsedProject.OutputFile with
386387
| None -> ()

0 commit comments

Comments
 (0)