From ee70752ca8811f42408935fd7020fceb9080e2a4 Mon Sep 17 00:00:00 2001 From: Adam Sitnik Date: Tue, 2 Apr 2024 14:06:27 +0200 Subject: [PATCH] split Directory.Build file into two dedicated files, one for src (packages) and one for test projects --- Directory.Build.props | 69 -------------------------------------- src/Directory.Build.props | 29 ++++++++++++++++ test/Directory.Build.props | 46 +++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 69 deletions(-) create mode 100644 test/Directory.Build.props diff --git a/Directory.Build.props b/Directory.Build.props index c7e86c6ab1..a293c172de 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,87 +2,18 @@ - AspNetCore.$(MSBuildProjectName) - icon.png - true - Apache-2.0 - https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks - https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks - Xabaril Contributors - Xabaril latest true enable - git - true true - True embedded true true enable - HealthCheck;HealthChecks;Health $(NoWarn);1591;IDISP013;AD0001; - false true - README.md - critical - - - - - - net6.0;net7.0;net8.0 - $(NoWarn);IDE1006;RCS1090 - $(WarningsNotAsErrors);IDE0053;IDE0060 - - - - $(MSBuildThisFileDirectory)build/strongNameKey.snk - true - - - - - - - - - - - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - - - - - - - - - - - - all diff --git a/src/Directory.Build.props b/src/Directory.Build.props index fc1e65a008..dae223157d 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,10 +1,39 @@ + + + AspNetCore.$(MSBuildProjectName) + icon.png + true + Apache-2.0 + https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks + https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks + Xabaril Contributors + Xabaril + git + true + HealthCheck;HealthChecks;Health + $(NoWarn);1591;IDISP013;AD0001; + false + true + README.md + critical + net6.0 $(DefaultNetCoreApp);netstandard2.0 + + + $(MSBuildThisFileDirectory)../build/strongNameKey.snk + true + + + + + + diff --git a/test/Directory.Build.props b/test/Directory.Build.props new file mode 100644 index 0000000000..6d4e7e6847 --- /dev/null +++ b/test/Directory.Build.props @@ -0,0 +1,46 @@ + + + + + + net6.0;net7.0;net8.0 + $(NoWarn);IDE1006;RCS1090 + $(WarningsNotAsErrors);IDE0053;IDE0060 + + + + + + + + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + + + + + + + + + + + + + +