From 550e54b86d1284cd620a8f579cf62d8c0993da47 Mon Sep 17 00:00:00 2001 From: Tyrrrz Date: Thu, 10 Dec 2020 16:22:41 +0200 Subject: [PATCH] Update project structure --- .../CliFx.Analyzers.Tests.csproj | 3 +-- CliFx.Analyzers/CliFx.Analyzers.csproj | 1 - CliFx.Benchmarks/CliFx.Benchmarks.csproj | 1 - CliFx.Demo/CliFx.Demo.csproj | 3 +-- CliFx.Tests.Dummy/CliFx.Tests.Dummy.csproj | 1 - CliFx.Tests/CliFx.Tests.csproj | 7 +++---- CliFx.props | 12 ----------- CliFx.sln | 2 +- CliFx/CliFx.csproj | 9 +------- Directory.Build.props | 21 +++++++++++++++++++ 10 files changed, 28 insertions(+), 32 deletions(-) delete mode 100644 CliFx.props create mode 100644 Directory.Build.props diff --git a/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj b/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj index 60e05d6..46bf5c7 100644 --- a/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj +++ b/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj @@ -1,5 +1,4 @@ - net5.0 @@ -13,7 +12,7 @@ - + diff --git a/CliFx.Analyzers/CliFx.Analyzers.csproj b/CliFx.Analyzers/CliFx.Analyzers.csproj index 6e04481..307f83c 100644 --- a/CliFx.Analyzers/CliFx.Analyzers.csproj +++ b/CliFx.Analyzers/CliFx.Analyzers.csproj @@ -1,5 +1,4 @@  - netstandard2.0 diff --git a/CliFx.Benchmarks/CliFx.Benchmarks.csproj b/CliFx.Benchmarks/CliFx.Benchmarks.csproj index 9ebe9af..941e403 100644 --- a/CliFx.Benchmarks/CliFx.Benchmarks.csproj +++ b/CliFx.Benchmarks/CliFx.Benchmarks.csproj @@ -1,5 +1,4 @@  - Exe diff --git a/CliFx.Demo/CliFx.Demo.csproj b/CliFx.Demo/CliFx.Demo.csproj index 2352b63..4476673 100644 --- a/CliFx.Demo/CliFx.Demo.csproj +++ b/CliFx.Demo/CliFx.Demo.csproj @@ -1,5 +1,4 @@  - Exe @@ -7,7 +6,7 @@ - + diff --git a/CliFx.Tests.Dummy/CliFx.Tests.Dummy.csproj b/CliFx.Tests.Dummy/CliFx.Tests.Dummy.csproj index 43204f2..0bcafa2 100644 --- a/CliFx.Tests.Dummy/CliFx.Tests.Dummy.csproj +++ b/CliFx.Tests.Dummy/CliFx.Tests.Dummy.csproj @@ -1,5 +1,4 @@  - Exe diff --git a/CliFx.Tests/CliFx.Tests.csproj b/CliFx.Tests/CliFx.Tests.csproj index a4abc2f..8aeaaa4 100644 --- a/CliFx.Tests/CliFx.Tests.csproj +++ b/CliFx.Tests/CliFx.Tests.csproj @@ -1,5 +1,4 @@  - net5.0 @@ -14,10 +13,10 @@ - + - + @@ -33,7 +32,7 @@ CliFx.Tests.Dummy.runtimeconfig.json PreserveNewest - False + false diff --git a/CliFx.props b/CliFx.props deleted file mode 100644 index d8e5683..0000000 --- a/CliFx.props +++ /dev/null @@ -1,12 +0,0 @@ - - - - 1.6 - Tyrrrz - Copyright (C) Alexey Golub - latest - enable - nullable - - - \ No newline at end of file diff --git a/CliFx.sln b/CliFx.sln index 4072fad..ebb5ecd 100644 --- a/CliFx.sln +++ b/CliFx.sln @@ -10,7 +10,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3AAE8166-BB8E-49DA-844C-3A0EE6BD40A0}" ProjectSection(SolutionItems) = preProject Changelog.md = Changelog.md - CliFx.props = CliFx.props + Directory.Build.props = Directory.Build.props License.txt = License.txt Readme.md = Readme.md EndProjectSection diff --git a/CliFx/CliFx.csproj b/CliFx/CliFx.csproj index f7018c5..2db73c5 100644 --- a/CliFx/CliFx.csproj +++ b/CliFx/CliFx.csproj @@ -1,5 +1,4 @@  - netstandard2.1;netstandard2.0 @@ -13,16 +12,10 @@ true true true - true - snupkg + embedded $(TargetsForTfmSpecificContentInPackage);CopyAnalyzerToPackage - - - annotations - - diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..5de9f50 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,21 @@ + + + + 1.6 + Tyrrrz + Copyright (C) Alexey Golub + latest + enable + nullable + + + + + annotations + + + + true + + + \ No newline at end of file