You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
2.5 KiB

6 years ago
  1. # Developer Guide
  2. The following document describes the setup and workflow that is recommended for working on the Windows Forms project. It assumes that you have read the [Contributing Guide](../CONTRIBUTING.md).
  3. The [Issue Guide](issue-guide.md) describes our approach to using GitHub issues.
  4. ## Machine Setup
  5. Windows Forms development requires the following workloads and components be selected when installing Visual Studio 2022 (17.0.0):
  6. * Required Workloads:
  7. * .NET Desktop Development
  8. * Desktop development with C++
  9. * [Required Individual Components][required-individual-components]:
  10. * Windows 10 SDK
  11. * C++ CMake tools for Windows
  12. * Required Windows Features
  13. * 'Media Features' including 'Windows Media Player Legacy (App)' (Windows 11) or 'Windows Media Player' (Windows 10)
  14. * Useful Visual Studio extensions:
  15. * [Editor guidelines](https://marketplace.dev.azure.com/items?itemName=PaulHarrington.EditorGuidelines), see https://github.com/dotnet/winforms/pull/4836 for more information
  16. * [VS Color Output](https://marketplace.dev.azure.com/items?itemName=MikeWard-AnnArbor.VSColorOutput64)
  17. * [Productivity Power Tools](https://marketplace.dev.azure.com/items?itemName=VisualStudioPlatformTeam.ProductivityPowerPack2022)
  18. Optional: To get the latest C# features in Visual Studio or to experiment with the latest runtime when not using the `start-vs.cmd`, install the [latest SDK build](https://github.com/dotnet/dotnet/blob/main/docs/builds-table.md).
  19. ## Workflow
  20. We use the following workflow for building as well as testing features and fixes.
  21. You first need to [fork][fork] then [clone][clone] this Windows Forms repository. This is a one-time task.
  22. 1. [Build](building.md) the repository.
  23. 2. [Debug](debugging.md) the change, as needed.
  24. 3. [Test](testing.md) the change, to validate quality.
  25. ## More Information
  26. * [How to write good docs for .NET](https://review.docs.microsoft.com/help/contribute-ref/how-to-write-net-docs?branch=main)
  27. * [.NET Docs and Guidelines][net-runtime-instructions]
  28. * ["help wanted" issues][help wanted]
  29. [comment]: <> (URI Links)
  30. [net-runtime-instructions]: https://github.com/dotnet/runtime/tree/master/docs
  31. [fork]: https://guides.github.com/activities/forking/
  32. [clone]: https://www.git-scm.com/docs/git-clone
  33. [help wanted]: https://github.com/dotnet/winforms/issues?q=is%3Aopen+is%3Aissue+label%3A"help%20wanted"
  34. [chocolatey]: https://chocolatey.org/
  35. [cmake-download]: https://cmake.org/download/
  36. [required-individual-components]: ../WinForms.vsconfig