From 91312891743b6f28ccc478797aa7de7d0998ffb6 Mon Sep 17 00:00:00 2001 From: Mark Seemann Date: Mon, 16 Oct 2023 14:09:54 +0200 Subject: [PATCH 1/4] Upgrade C# code to .NET 4.8.1 Support for the previous version, 4.5.2, [ended in Apr 26, 2022](https://learn.microsoft.com/lifecycle/products/microsoft-net-framework), and we can't expect younger developers (or older, for that matter!) to have that SDK installed. This commit upgrades to .NET 4.8.1, which is the most recent .NET Framework version. --- csharp/App.config | 6 +++--- csharp/csharp.csproj | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/csharp/App.config b/csharp/App.config index 88fa4027..5ab1a356 100644 --- a/csharp/App.config +++ b/csharp/App.config @@ -1,6 +1,6 @@ - + - + - \ No newline at end of file + diff --git a/csharp/csharp.csproj b/csharp/csharp.csproj index 58213647..58a60f4b 100644 --- a/csharp/csharp.csproj +++ b/csharp/csharp.csproj @@ -10,11 +10,12 @@ Properties csharp csharp - v4.5.2 + v4.8.1 512 true + AnyCPU From f2fc69953309d3fc0d34ba78a0ecc688e132c3f5 Mon Sep 17 00:00:00 2001 From: Mark Seemann Date: Mon, 16 Oct 2023 14:14:52 +0200 Subject: [PATCH 2/4] Update NUnit NuGet package In a modern Visual Studio installation, the previous version of NUnit simply didn't run. --- csharp/csharp.csproj | 10 ++++++---- csharp/packages.config | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/csharp/csharp.csproj b/csharp/csharp.csproj index 58a60f4b..8c758b91 100644 --- a/csharp/csharp.csproj +++ b/csharp/csharp.csproj @@ -1,6 +1,7 @@  - + + Debug @@ -49,8 +50,8 @@ packages\ApprovalUtilities.3.0.13\lib\net45\ApprovalUtilities.Net45.dll True - - packages\NUnit.3.9.0\lib\net45\nunit.framework.dll + + packages\NUnit.3.13.3\lib\net45\nunit.framework.dll @@ -81,7 +82,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + +