From 9a0b43f07a5476426c691152b205948d109498d0 Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Wed, 28 Feb 2024 15:28:01 -0600 Subject: [PATCH 1/2] Fixed PackageId being overridden by MSBuild.Sdk.Extras import --- MultiTarget/Library.props | 2 -- ToolkitComponent.SampleProject.props | 2 ++ ToolkitComponent.SourceProject.props | 13 +++++++++---- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/MultiTarget/Library.props b/MultiTarget/Library.props index c9610ed9..2967239e 100644 --- a/MultiTarget/Library.props +++ b/MultiTarget/Library.props @@ -28,6 +28,4 @@ - - diff --git a/ToolkitComponent.SampleProject.props b/ToolkitComponent.SampleProject.props index d0d45e6c..d1c5e023 100644 --- a/ToolkitComponent.SampleProject.props +++ b/ToolkitComponent.SampleProject.props @@ -6,6 +6,8 @@ + + diff --git a/ToolkitComponent.SourceProject.props b/ToolkitComponent.SourceProject.props index 5fac813f..9b6bbbe6 100644 --- a/ToolkitComponent.SourceProject.props +++ b/ToolkitComponent.SourceProject.props @@ -3,18 +3,23 @@ - - - $([System.DateTime]::UtcNow.ToString(yyMMdd)) $(MajorVersion).$(MinorVersion).$(DateForVersion) $(Version)-$(PreviewVersion) + + + + + + $(PackageIdPrefix).$(PackageIdVariant).$(ToolkitComponentName) + + - + false From 673142cb621b5cc09a7b51bc0f9c2fb3b4e896ba Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Thu, 29 Feb 2024 11:05:30 -0600 Subject: [PATCH 2/2] Minor cleanup --- ToolkitComponent.SourceProject.props | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ToolkitComponent.SourceProject.props b/ToolkitComponent.SourceProject.props index 9b6bbbe6..84ffd26c 100644 --- a/ToolkitComponent.SourceProject.props +++ b/ToolkitComponent.SourceProject.props @@ -3,16 +3,13 @@ - - $([System.DateTime]::UtcNow.ToString(yyMMdd)) - $(MajorVersion).$(MinorVersion).$(DateForVersion) - $(Version)-$(PreviewVersion) - - + $([System.DateTime]::UtcNow.ToString(yyMMdd)) + $(MajorVersion).$(MinorVersion).$(DateForVersion) + $(Version)-$(PreviewVersion) $(PackageIdPrefix).$(PackageIdVariant).$(ToolkitComponentName)