From e26808325738197448de6ca5f2bead060e1b4593 Mon Sep 17 00:00:00 2001 From: Benjamin Michaelis Date: Mon, 1 Aug 2022 13:01:48 -0700 Subject: [PATCH] Add a common props file for TFM --- Common.props | 5 +++++ Directory.Build.props | 1 - EssentialCSharp.sln | 1 + src/Chapter.props | 1 + src/ChapterTests.props | 1 + 5 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 Common.props diff --git a/Common.props b/Common.props new file mode 100644 index 000000000..3d99393e6 --- /dev/null +++ b/Common.props @@ -0,0 +1,5 @@ + + + net5.0;netcoreapp3.1 + + \ No newline at end of file diff --git a/Directory.Build.props b/Directory.Build.props index 901aaa8b2..18b272bda 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,5 @@ - net5.0;netcoreapp3.1 9.0 enable Chapter$(ChapterNumber) diff --git a/EssentialCSharp.sln b/EssentialCSharp.sln index 89dc495d8..24623147a 100644 --- a/EssentialCSharp.sln +++ b/EssentialCSharp.sln @@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution after.EssentialCSharp.sln.targets = after.EssentialCSharp.sln.targets src\Chapter.props = src\Chapter.props src\ChapterTests.props = src\ChapterTests.props + Common.props = Common.props Directory.Build.props = Directory.Build.props Directory.Build.targets = Directory.Build.targets README.md = README.md diff --git a/src/Chapter.props b/src/Chapter.props index 2a1f19d13..7bff8d14f 100644 --- a/src/Chapter.props +++ b/src/Chapter.props @@ -1,4 +1,5 @@ + Exe AddisonWesley.Michaelis.EssentialCSharp.Shared.Program diff --git a/src/ChapterTests.props b/src/ChapterTests.props index 13a7640c6..237b193c1 100644 --- a/src/ChapterTests.props +++ b/src/ChapterTests.props @@ -1,4 +1,5 @@ + $(ProductName).Tests