From 128bb5be8b55385f819a3e9177372a8843cd741b Mon Sep 17 00:00:00 2001
From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Date: Wed, 2 Nov 2022 23:10:18 +0200
Subject: [PATCH] Clean up project items and update NuGet packages
---
CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj | 6 +++---
CliFx.Analyzers.Tests/Utils/AnalyzerAssertions.cs | 3 ++-
CliFx.Analyzers/CliFx.Analyzers.csproj | 14 ++++++++++----
CliFx.Benchmarks/CliFx.Benchmarks.csproj | 2 +-
CliFx.Tests/CliFx.Tests.csproj | 14 +++-----------
CliFx.Tests/Utils/DynamicCommandBuilder.cs | 3 ++-
CliFx/CliFx.csproj | 8 ++++++--
7 files changed, 27 insertions(+), 23 deletions(-)
diff --git a/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj b/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj
index 4439015..f245ab6 100644
--- a/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj
+++ b/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj
@@ -9,14 +9,14 @@
-
+
-
+
-
+
diff --git a/CliFx.Analyzers.Tests/Utils/AnalyzerAssertions.cs b/CliFx.Analyzers.Tests/Utils/AnalyzerAssertions.cs
index ec0e60b..69347f1 100644
--- a/CliFx.Analyzers.Tests/Utils/AnalyzerAssertions.cs
+++ b/CliFx.Analyzers.Tests/Utils/AnalyzerAssertions.cs
@@ -58,7 +58,8 @@ internal class AnalyzerAssertions : ReferenceTypeAssertions
netstandard2.0
true
- annotations
+ true
$(NoWarn);RS1025;RS1026
+
+
+
+ annotations
+
-
-
-
+
\ No newline at end of file
diff --git a/CliFx.Benchmarks/CliFx.Benchmarks.csproj b/CliFx.Benchmarks/CliFx.Benchmarks.csproj
index 01a8463..82c9978 100644
--- a/CliFx.Benchmarks/CliFx.Benchmarks.csproj
+++ b/CliFx.Benchmarks/CliFx.Benchmarks.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/CliFx.Tests/CliFx.Tests.csproj b/CliFx.Tests/CliFx.Tests.csproj
index 2e5178f..6491dc3 100644
--- a/CliFx.Tests/CliFx.Tests.csproj
+++ b/CliFx.Tests/CliFx.Tests.csproj
@@ -9,16 +9,16 @@
-
+
-
+
-
+
@@ -26,12 +26,4 @@
-
-
- CliFx.Tests.Dummy.runtimeconfig.json
- PreserveNewest
- false
-
-
-
\ No newline at end of file
diff --git a/CliFx.Tests/Utils/DynamicCommandBuilder.cs b/CliFx.Tests/Utils/DynamicCommandBuilder.cs
index 3a18b58..405656c 100644
--- a/CliFx.Tests/Utils/DynamicCommandBuilder.cs
+++ b/CliFx.Tests/Utils/DynamicCommandBuilder.cs
@@ -61,7 +61,8 @@ internal static class DynamicCommandBuilder
var compilation = CSharpCompilation.Create(
"CliFxTests_DynamicAssembly_" + Guid.NewGuid(),
new[] {ast},
- ReferenceAssemblies.Net50
+ ReferenceAssemblies
+ .Net60
.Append(MetadataReference.CreateFromFile(typeof(ICommand).Assembly.Location))
.Append(MetadataReference.CreateFromFile(typeof(DynamicCommandBuilder).Assembly.Location)),
// DLL to avoid having to define the Main() method
diff --git a/CliFx/CliFx.csproj b/CliFx/CliFx.csproj
index f7e7c4f..b77c5a3 100644
--- a/CliFx/CliFx.csproj
+++ b/CliFx/CliFx.csproj
@@ -2,9 +2,12 @@
netstandard2.1;netstandard2.0
+ true
+
+
+
$(Company)
Declarative framework for building command line applications
- true
command line executable interface framework parser arguments cli app application net core
https://github.com/Tyrrrz/CliFx
https://github.com/Tyrrrz/CliFx/blob/master/Changelog.md
@@ -31,9 +34,10 @@
-
+
+