From 2c6d71933b19e14fa049b7b4dcd3aaa616246d9f Mon Sep 17 00:00:00 2001 From: David Hall Date: Wed, 22 Nov 2023 17:49:48 -0700 Subject: [PATCH] Separated SourceLInk and Package details into separate config files for solution --- Directory.Build.props | 34 +++------------------------------- Package.targets | 16 ++++++++++++++++ SourceLink.targets | 18 ++++++++++++++++++ 3 files changed, 37 insertions(+), 31 deletions(-) create mode 100644 Package.targets create mode 100644 SourceLink.targets diff --git a/Directory.Build.props b/Directory.Build.props index 5661985b..a932609e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,14 +1,9 @@ - 4.0.0-beta net45;net48;net6.0;net7.0;netstandard2.0;netcoreapp3.1 Debug;Release AnyCPU;x64;x86 true - $(MSBuildThisFileDirectory)Vanara.snk - David Hall - GitHub Community - Copyright © 2017-2023 true true false @@ -17,13 +12,6 @@ latest en-US enable - Vanara64x64.png - MIT - https://github.com/dahall/vanara - Vanara - Git - https://github.com/dahall/vanara - Vanara.PInvoke true $(NoWarn);NETSDK1138;SYSLIB0003;SYSLIB0004;SYSLIB0011;IL2026;IL2050;IL2075;IL2067;IL2070;IL2072;IL2077;IL2080;IL2087;IL2090;CS0618;CA1401;CA2101;SYSLIB1054; true @@ -31,26 +19,10 @@ true - - - true - true - true - snupkg - false - $(CIBUILD) - $(CIBUILD) - - - $(MSBuildWarningsAsMessages);NETSDK1105;NETSDK1138 - - - - - - + + - + \ No newline at end of file diff --git a/Package.targets b/Package.targets new file mode 100644 index 00000000..b756b2d3 --- /dev/null +++ b/Package.targets @@ -0,0 +1,16 @@ + + + 4.0.0-beta + $(MSBuildThisFileDirectory)Vanara.snk + David Hall + GitHub Community + Copyright © 2017-2023 + Vanara64x64.png + MIT + https://github.com/dahall/vanara + Vanara + Git + https://github.com/dahall/vanara + Vanara.PInvoke + + \ No newline at end of file diff --git a/SourceLink.targets b/SourceLink.targets new file mode 100644 index 00000000..fbd5eb62 --- /dev/null +++ b/SourceLink.targets @@ -0,0 +1,18 @@ + + + true + true + true + snupkg + false + $(CIBUILD) + $(CIBUILD) + + + $(MSBuildWarningsAsMessages);NETSDK1105;NETSDK1138 + + + + + +