From bbf66074ecaeff20abb0b21387922dd771cbd605 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sun, 1 Oct 2023 16:35:35 +0200 Subject: [PATCH] Improve shared .props to manage analyzer projects --- build/Directory.Build.props | 8 ++++++-- src/Directory.Build.props | 8 ++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/build/Directory.Build.props b/build/Directory.Build.props index 9381df45e..e5dcc07eb 100644 --- a/build/Directory.Build.props +++ b/build/Directory.Build.props @@ -141,9 +141,13 @@ $([MSBuild]::MakeRelative('$(MSBuildThisFileDirectory)..\', $(MSBuildProjectDirectory))) $(ProjectDirectoryPathFromSourceRoot.StartsWith('src\')) false - true + true + false + true + false + true false - true + true $(ProjectDirectoryPathFromSourceRoot.StartsWith('tests\')) false true diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 98b026937..19fabcadd 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -45,11 +45,11 @@ - - false + + false - - true + + true false