Skip to content

Commit

Permalink
A spot of code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
baronfel committed Apr 21, 2024
1 parent a7d9807 commit f99e8e9
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/Ionide.ProjInfo/Library.fs
Original file line number Diff line number Diff line change
Expand Up @@ -612,12 +612,6 @@ module ProjectLoader =
let tfm = loadProjectAndGetTFM path projectCollection readingProps isLegacyFrameworkProjFile

let globalProperties = getGlobalProps tfm [] collectionProps

let loadSettings =
ProjectLoadSettings.RecordEvaluatedItemElements
||| ProjectLoadSettings.ProfileEvaluation
||| ProjectLoadSettings.IgnoreMissingImports

let project = findOrCreateMatchingProject path projectCollection globalProperties
use sw = new StringWriter()

Expand Down Expand Up @@ -929,21 +923,6 @@ module ProjectLoader =

Result.Ok proj

// /// <summary>
// /// Main entry point for project loading.
// /// </summary>
// /// <param name="path">Full path to the `.fsproj` file</param>
// /// <param name="binaryLogs">describes if and how to generate MsBuild binary logs</param>
// /// <param name="projectCollection">The propertyCollection to load the project into. This will provide global properties by default.</param>
// /// <param name="customProperties">List of additional MsBuild properties that you want to obtain.</param>
// /// <returns>Returns the record instance representing the loaded project or string containing error message</returns>
// let getProjectInfo (path: string) projectCollection (binaryLogs: BinaryLogGeneration) (customProperties: string list) : Result<Types.ProjectOptions, string> =
// let loadedProject = loadProject path binaryLogs projectCollection

// match loadedProject with
// | ProjectLoadingStatus.Success project -> getLoadedProjectInfo path customProperties project
// | ProjectLoadingStatus.Error e -> Result.Error e

/// A type that turns project files or solution files into deconstructed options.
/// Use this in conjunction with the other ProjInfo libraries to turn these options into
/// ones compatible for use with FCS directly.
Expand Down

0 comments on commit f99e8e9

Please sign in to comment.