From 2f75cd30fb56294150a03d66e4ecd5a9fdf79a11 Mon Sep 17 00:00:00 2001 From: "David G. Moore, Jr" Date: Sun, 8 Oct 2023 20:02:22 -0400 Subject: [PATCH] Modify Directory.Build.props and SlnGen.props to pull in the global.json and Directory.Build.* files when generating a solution. --- src/Build/SlnGen.props | 8 ++++++++ src/Build/SourceCodeReference.props | 17 ----------------- src/Directory.Build.props | 1 - 3 files changed, 8 insertions(+), 18 deletions(-) delete mode 100755 src/Build/SourceCodeReference.props diff --git a/src/Build/SlnGen.props b/src/Build/SlnGen.props index c782914..c3aa792 100644 --- a/src/Build/SlnGen.props +++ b/src/Build/SlnGen.props @@ -15,6 +15,9 @@ $('$(MSBuildProjectExtension)' != '.csproj') false $(MSbuildProjectName) + $([MSBuild]::EnsureTrailingSlash($([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), "Directory.Build.props"))))Directory.Build.props + $([MSBuild]::EnsureTrailingSlash($([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), "Directory.Build.targets"))))Directory.Build.targets + $([MSBuild]::EnsureTrailingSlash($([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), "global.json"))))global.json @@ -46,6 +49,11 @@ + + + + + true tests diff --git a/src/Build/SourceCodeReference.props b/src/Build/SourceCodeReference.props deleted file mode 100755 index 6b10db6..0000000 --- a/src/Build/SourceCodeReference.props +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 35c5b6c..61fb1fc 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -40,7 +40,6 @@ -