Mark Seemann
6fc15844b7
Add Microsoft.NET.Test.Sdk NuGet package
...
This enables running unit tests on .NET (Core).
The `<GenerateProgramFile>false</GenerateProgramFile>` line comes from
this article by Andrew Lock:
https://andrewlock.net/fixing-the-error-program-has-more-than-one-entry-point-defined-for-console-apps-containing-xunit-tests/
2023-10-16 20:49:58 +02:00
Mark Seemann
e975a987f1
Upgrade C# code to .NET 6
...
The upgrade was performed by `upgrade-assistant upgrade`.
2023-10-16 20:30:36 +02:00
Mark Seemann
d58d195996
Update System.Security.AccessControl NuGet package
...
The previous version (5.0.0) was deprecated, and since this is a
security package, it seems important to update it.
2023-10-16 14:19:51 +02:00
Mark Seemann
c86bdbec28
Update ApprovalTests NuGet packages
...
As can be seen in this diff, this update drags along some other package
updates.
2023-10-16 14:17:27 +02:00
Mark Seemann
f2fc699533
Update NUnit NuGet package
...
In a modern Visual Studio installation, the previous version of NUnit
simply didn't run.
2023-10-16 14:14:52 +02:00
Mark Seemann
9131289174
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.
2023-10-16 14:09:54 +02:00