winsw/CONTRIBUTING.md

31 lines
857 B
Markdown
Raw Normal View History

# Contribute
2018-11-28 16:00:00 +00:00
## Prerequisites
[.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
- [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
## Develop in Visual Studio
2018-11-28 16:00:00 +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
## Develop with .NET CLI
2018-11-28 16:00:00 +00:00
### Build
2018-11-28 16:00:00 +00:00
```console
dotnet build src\WinSW.sln
2018-11-28 16:00:00 +00:00
```
### Test
2018-11-28 16:00:00 +00:00
```console
dotnet test src\WinSW.sln
2018-11-28 16:00:00 +00:00
```
## See also
[How to: Debug Windows Service Applications](https://docs.microsoft.com/dotnet/framework/windows-services/how-to-debug-windows-service-applications)