.NET 5 SDK or later and your favorite code editor.
You can open src\WinSW.sln and then build and run tests from within Visual Studio.
dotnet build src\WinSW.sln
dotnet test src\WinSW.sln
How to: Debug Windows Service Applications