From 2f6a10f89e3c6d97f232f4157a80e3a9e1470dc5 Mon Sep 17 00:00:00 2001 From: Adam Sitnik Date: Tue, 2 Apr 2024 20:17:48 +0200 Subject: [PATCH] split Directory.Build file into two dedicated files, one for src (packages) and one for test projects (#2188) --- Directory.Build.props | 69 -------------------------------------- src/Directory.Build.props | 27 +++++++++++++++ test/Directory.Build.props | 46 +++++++++++++++++++++++++ 3 files changed, 73 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..8525f10df0 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,10 +1,37 @@ + + + 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 + false + 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 + + + + + + + + + + + + + + + + + + + + +