From e5a546241bc46c2b743fd760bc31f5ede5ea06e1 Mon Sep 17 00:00:00 2001 From: "David G. Moore, Jr." Date: Sun, 31 Dec 2023 07:37:53 -0800 Subject: [PATCH] try'n'a get the XPackageReferences to work.. --- src/Build/AIsMultiTargeting.props | 6 ++-- src/Build/CustomItemTypes.props | 39 ++++++++++++++++++++++++++ src/Build/CustomItemTypes.targets | 39 ++++++++++++++++++++++++++ src/Build/EnsureLicense.targets | 6 ++-- src/Build/GenerateMarkdownDocs.targets | 38 ++++++++++++------------- src/Build/PackOverride.targets | 3 ++ 6 files changed, 107 insertions(+), 24 deletions(-) create mode 100644 src/Build/CustomItemTypes.props create mode 100644 src/Build/CustomItemTypes.targets create mode 100644 src/Build/PackOverride.targets diff --git a/src/Build/AIsMultiTargeting.props b/src/Build/AIsMultiTargeting.props index 54111ac..cf539fd 100644 --- a/src/Build/AIsMultiTargeting.props +++ b/src/Build/AIsMultiTargeting.props @@ -11,7 +11,7 @@ --> - - $('$(TargetFrameworks)' != '' And '$(TargetFramework)' == '') - + + $('$(TargetFrameworks)' != '' And '$(TargetFramework)' == '') + diff --git a/src/Build/CustomItemTypes.props b/src/Build/CustomItemTypes.props new file mode 100644 index 0000000..4d3e989 --- /dev/null +++ b/src/Build/CustomItemTypes.props @@ -0,0 +1,39 @@ + + + + true + Native;BuildTransitive;BuildMultitargeting;ContentFiles;Compile;Runtime + true + Analyzers;Build + true + All + + + true + Always + Always + true + Analyzer + true + false + Configuration=$(Configuration) + Restore;Build;Pack + + + true + Analyzers;Runtime;Native + true + ContentFiles;Build;BuildTransitive;BuildMultitargeting + true + All + + + true + ContentFiles;Native;Analyzers + true + Build;BuildTransitive;BuildMultitargeting;Runtime;Compile + true + None + + + diff --git a/src/Build/CustomItemTypes.targets b/src/Build/CustomItemTypes.targets new file mode 100644 index 0000000..994ae8a --- /dev/null +++ b/src/Build/CustomItemTypes.targets @@ -0,0 +1,39 @@ + + + + true + Native;BuildTransitive;BuildMultitargeting;ContentFiles;Compile;Runtime + true + Analyzers;Build + true + All + + + true + Always + Always + true + Analyzer + true + false + Configuration=$(Configuration) + Restore;Build;Pack + + + true + Analyzers;Runtime;Native + true + ContentFiles;Build;BuildTransitive;BuildMultitargeting + true + All + + + true + ContentFiles;Native;Analyzers + true + Build;BuildTransitive;BuildMultitargeting;Runtime;Compile + true + None + + + diff --git a/src/Build/EnsureLicense.targets b/src/Build/EnsureLicense.targets index 1bbe0a7..a125134 100644 --- a/src/Build/EnsureLicense.targets +++ b/src/Build/EnsureLicense.targets @@ -12,10 +12,12 @@ - + LICENSE.md + + + diff --git a/src/Build/GenerateMarkdownDocs.targets b/src/Build/GenerateMarkdownDocs.targets index 0fe04e1..e227419 100644 --- a/src/Build/GenerateMarkdownDocs.targets +++ b/src/Build/GenerateMarkdownDocs.targets @@ -1,11 +1,11 @@ @@ -17,23 +17,23 @@ - - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/src/Build/PackOverride.targets b/src/Build/PackOverride.targets new file mode 100644 index 0000000..0a92a35 --- /dev/null +++ b/src/Build/PackOverride.targets @@ -0,0 +1,3 @@ + + +