From b73a5b30fa740906b0343096859bad31d7c2fa19 Mon Sep 17 00:00:00 2001 From: James White Date: Thu, 18 Jul 2024 12:47:54 -0700 Subject: [PATCH] Added Directory.Build files to isolate cs projects If you use the package in a project that has a Directory.Build.props or Directory.build.targets file in its root, the settings in those files control the compilation of the packages c# code. For instance, if nullable is enabled for the solution using the package, the csproj files will fail to build as they aren't nullable aware. --- lib/Directory.Build.props | 5 +++++ lib/Directory.Build.targets | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 lib/Directory.Build.props create mode 100644 lib/Directory.Build.targets diff --git a/lib/Directory.Build.props b/lib/Directory.Build.props new file mode 100644 index 0000000..9e3faec --- /dev/null +++ b/lib/Directory.Build.props @@ -0,0 +1,5 @@ + + + false + + \ No newline at end of file diff --git a/lib/Directory.Build.targets b/lib/Directory.Build.targets new file mode 100644 index 0000000..612638a --- /dev/null +++ b/lib/Directory.Build.targets @@ -0,0 +1,5 @@ + + + false + + \ No newline at end of file