From 8c778e3bdc20e98dd67bd9e644a07c800a1140ac Mon Sep 17 00:00:00 2001 From: Jimmy Byrd Date: Sun, 2 Oct 2022 17:54:40 -0400 Subject: [PATCH] Exposes Properties on ProjectOptions (#170) --- src/Ionide.ProjInfo/Library.fs | 2 ++ src/Ionide.ProjInfo/Types.fs | 1 + test/Ionide.ProjInfo.Tests/Tests.fs | 1 + 3 files changed, 4 insertions(+) diff --git a/src/Ionide.ProjInfo/Library.fs b/src/Ionide.ProjInfo/Library.fs index 9acb1ebd..b613ecfc 100644 --- a/src/Ionide.ProjInfo/Library.fs +++ b/src/Ionide.ProjInfo/Library.fs @@ -588,6 +588,7 @@ module ProjectLoader = ProjectOutputType = outputType ProjectSdkInfo = sdkInfo Items = compileItems + Properties = List.ofSeq props CustomProperties = List.ofSeq customProps } @@ -616,6 +617,7 @@ module ProjectLoader = "RunCommand" "IsPublishable" "BaseIntermediateOutputPath" + "IntermediateOutputPath" "TargetPath" "IsCrossTargetingBuild" "TargetFrameworks" ] diff --git a/src/Ionide.ProjInfo/Types.fs b/src/Ionide.ProjInfo/Types.fs index 782a6261..cdbfd948 100644 --- a/src/Ionide.ProjInfo/Types.fs +++ b/src/Ionide.ProjInfo/Types.fs @@ -60,6 +60,7 @@ module Types = ProjectOutputType: ProjectOutputType ProjectSdkInfo: ProjectSdkInfo Items: ProjectItem list + Properties: Property list CustomProperties: Property list } type CompileItem = diff --git a/test/Ionide.ProjInfo.Tests/Tests.fs b/test/Ionide.ProjInfo.Tests/Tests.fs index e0cedac0..5d40cd6a 100644 --- a/test/Ionide.ProjInfo.Tests/Tests.fs +++ b/test/Ionide.ProjInfo.Tests/Tests.fs @@ -886,6 +886,7 @@ let testFCSmapManyProjCheckCaching = ProjectOutputType = ProjectOutputType.Library ProjectSdkInfo = sdkInfo Items = [] + Properties = [] CustomProperties = [] } let makeReference (options : ProjectOptions) =