# Contribute

## Prerequisites

[.NET 5 SDK or later](https://dotnet.microsoft.com/download/dotnet/5.0) and your favorite code editor.

- [Visual Studio 2019 or later](https://visualstudio.microsoft.com/downloads/) with the **.NET desktop development** workload
- [Visual Studio Code](https://code.visualstudio.com/Download) with the [C# for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp) extension

## Develop in Visual Studio

You can open *src\WinSW.sln* and then build and run tests from within Visual Studio.

## Develop with .NET CLI

### Build

```console
dotnet build src\WinSW.sln
```

### Test

```console
dotnet test src\WinSW.sln
```

## See also

[How to: Debug Windows Service Applications](https://docs.microsoft.com/dotnet/framework/windows-services/how-to-debug-windows-service-applications)
