Skip to content

Commit

Permalink
ignore unknown project references.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthid committed Jan 19, 2015
1 parent 68cb1db commit b32b418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/FakeLib/MSBuildHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ let rec getProjectReferences (projectFileName : string) =
else // exclude .sln-files since the are not XML

let doc = loadProject projectFileName
let references = getReferenceElements "ProjectReference" projectFileName doc |> Seq.map snd
let references = getReferenceElements "ProjectReference" projectFileName doc |> Seq.map snd |> Seq.filter File.Exists
references
|> Seq.map getProjectReferences
|> Seq.concat
Expand Down

0 comments on commit b32b418

Please sign in to comment.