Skip to content

Commit 71c7446

Browse files
committed
Do not refer to out of date API
1 parent a0641f5 commit 71c7446

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

docs/content/project.fsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -351,20 +351,11 @@ ProjectCracker.GetProjectOptionsFromProjectFile(projectFile, [("Configuration",
351351

352352
(**
353353
354-
Another utility is provided to obtain a detailed view of the resolved and processed project file. The returned object can be used to access the fully resolved references, source files that will be included during compilation, and other options.
355-
356-
*)
357-
358-
FSharpProjectFileInfo.Parse(projectFile, [("Configuration", "Release")])
359-
360-
(**
361-
362354
For debugging purposes it is also possible to obtain a detailed log from the assembly resolution process.
363355
364356
*)
365357

366-
let p = FSharpProjectFileInfo.Parse(projectFile, enableLogging=true)
367-
Console.WriteLine(p.LogOutput)
358+
let options, logs = ProjectCracker.GetProjectOptionsFromProjectFileLogged(projectFile, [("Configuration", "Release")])
368359

369360
(**
370361
Summary

0 commit comments

Comments
 (0)