Skip to content

Commit

Permalink
Exposes Properties on ProjectOptions (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAngryByrd authored Oct 2, 2022
1 parent 4cd8209 commit 8c778e3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Ionide.ProjInfo/Library.fs
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ module ProjectLoader =
ProjectOutputType = outputType
ProjectSdkInfo = sdkInfo
Items = compileItems
Properties = List.ofSeq props
CustomProperties = List.ofSeq customProps }


Expand Down Expand Up @@ -616,6 +617,7 @@ module ProjectLoader =
"RunCommand"
"IsPublishable"
"BaseIntermediateOutputPath"
"IntermediateOutputPath"
"TargetPath"
"IsCrossTargetingBuild"
"TargetFrameworks" ]
Expand Down
1 change: 1 addition & 0 deletions src/Ionide.ProjInfo/Types.fs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ module Types =
ProjectOutputType: ProjectOutputType
ProjectSdkInfo: ProjectSdkInfo
Items: ProjectItem list
Properties: Property list
CustomProperties: Property list }

type CompileItem =
Expand Down
1 change: 1 addition & 0 deletions test/Ionide.ProjInfo.Tests/Tests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,7 @@ let testFCSmapManyProjCheckCaching =
ProjectOutputType = ProjectOutputType.Library
ProjectSdkInfo = sdkInfo
Items = []
Properties = []
CustomProperties = [] }

let makeReference (options : ProjectOptions) =
Expand Down

0 comments on commit 8c778e3

Please sign in to comment.