Commit Graph

14 Commits

Author SHA1 Message Date
Paul Moore
ce64de1f2a
Update csharp.csproj
upgrade to .Net8.0 via Microsoft's command line upgrade-assistant. 
.Net6.0 support ends in November 2024.
Other .Net/C# projects in the GildedRose repo are already at .Net8.0
2024-02-19 13:49:29 -08:00
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
Emily Bache
fbcc8aaa4d fix approval tests to work on windows, and use Approvals framework 2019-08-28 10:30:34 +02:00
T-rav
1ff9f05384 added missing ApprovalTest.cs and ThirtyDays.txt to csharp project 2018-09-19 11:11:20 +02:00
emilybache
97ec616334 remove ApprovalTest since the other languages don't have one 2018-08-10 14:43:38 +02:00
Matthias Lischka
5869d8d872 Updated NUnit to 3.9 2017-11-19 12:12:04 +01:00
Matthias Lischka
034a41b64d Added NUnit Test Adapter for discovering test in VS 2017-11-18 23:18:22 +01:00
Diego Sousa
a5804b92c0 Added NUnit and ApprovalTests/Utilities 2017-09-01 00:25:55 -03:00
Diego Sousa
23166143a2 Added files needed to run the csharp project on VS15/17 2017-09-01 00:00:42 -03:00