2020-08-30 00:56:18 +00:00
# Contribute
2018-11-28 16:00:00 +00:00
## Prerequisites
2020-08-30 00:56:18 +00:00
[.NET 5 SDK or later ](https://dotnet.microsoft.com/download/dotnet/5.0 ) and your favorite code editor.
2018-11-28 16:00:00 +00:00
2020-08-30 00:56:18 +00:00
- [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
2018-11-28 16:00:00 +00:00
2020-08-30 00:56:18 +00:00
## Develop in Visual Studio
2018-11-28 16:00:00 +00:00
2020-08-30 00:56:18 +00:00
You can open *src\WinSW.sln* and then build and run tests from within Visual Studio.
2018-11-28 16:00:00 +00:00
2020-08-30 00:56:18 +00:00
## Develop with .NET CLI
2018-11-28 16:00:00 +00:00
2020-08-30 00:56:18 +00:00
### Build
2018-11-28 16:00:00 +00:00
2020-08-10 23:54:32 +00:00
```console
2020-08-30 00:56:18 +00:00
dotnet build src\WinSW.sln
2018-11-28 16:00:00 +00:00
```
2020-08-30 00:56:18 +00:00
### Test
2018-11-28 16:00:00 +00:00
2020-08-10 23:54:32 +00:00
```console
2020-08-30 00:56:18 +00:00
dotnet test src\WinSW.sln
2018-11-28 16:00:00 +00:00
```
2020-05-28 02:48:09 +00:00
2020-08-30 00:56:18 +00:00
## See also
2020-05-28 02:48:09 +00:00
2020-08-30 00:56:18 +00:00
[How to: Debug Windows Service Applications ](https://docs.microsoft.com/dotnet/framework/windows-services/how-to-debug-windows-service-applications )