From db34ec7a7e5fa56b5055eeabeb35fd80c813b0c9 Mon Sep 17 00:00:00 2001 From: Patrick Grawehr Date: Tue, 16 Mar 2021 00:24:11 +0100 Subject: [PATCH] Change .NET 5 to .NET 6, add a sentence on bindings (#1482) --- Documentation/CONTRIBUTING.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/CONTRIBUTING.md b/Documentation/CONTRIBUTING.md index dbd3a4b0..d0b92f82 100644 --- a/Documentation/CONTRIBUTING.md +++ b/Documentation/CONTRIBUTING.md @@ -5,10 +5,10 @@ How to Contribute ## Recommended Software 1. (If building on Windows) - **[Visual Studio 2019](https://visualstudio.microsoft.com/vs/preview/)** (Community, Professional, Enterprise) with the latest updates. This is not required for building the repo, but it will help a lot if the intent is to change the code or add new bindings. -1. **.NET Core SDK** To ensure the install worked, make sure you can call `dotnet` tool from a command prompt. We now require .NET 5 preview versions of the SDKs because of our central infrastructure, you can find the installers per platform here: - - For Windows: [Link to .NET 5 preview installer for Windows](https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100-preview.1.21103.13/dotnet-sdk-6.0.100-preview.1.21103.13-win-x64.exe) **This is important as you won't be able to open projects on Visual Studio if you don't install this machine-wide** - - For Linux: [Link to .NET 5 preview SDK for Linux](https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100-preview.1.21103.13/dotnet-sdk-6.0.100-preview.1.21103.13-linux-x64.tar.gz) - - For OSX: [Link to .NET 5 preview SDK for OSX](https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100-preview.1.21103.13/dotnet-sdk-6.0.100-preview.1.21103.13-osx-x64.tar.gz) +1. **.NET Core SDK** To ensure the install worked, make sure you can call `dotnet` tool from a command prompt. We now require .NET 6 preview versions of the SDKs because of our central infrastructure, you can find the installers per platform here: + - For Windows: [Link to .NET 6 preview installer for Windows](https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100-preview.1.21103.13/dotnet-sdk-6.0.100-preview.1.21103.13-win-x64.exe) **This is important as you won't be able to open projects on Visual Studio if you don't install this machine-wide** + - For Linux: [Link to .NET 6 preview SDK for Linux](https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100-preview.1.21103.13/dotnet-sdk-6.0.100-preview.1.21103.13-linux-x64.tar.gz) + - For OSX: [Link to .NET 6 preview SDK for OSX](https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100-preview.1.21103.13/dotnet-sdk-6.0.100-preview.1.21103.13-osx-x64.tar.gz) ## Building from the Command Line @@ -20,7 +20,7 @@ For more information on how to turn of parts of the build, please type `build.cm ## Building from Visual Studio (Windows only) -**Make sure you have the .NET 5 preview SDK installed machine-wide in order to be able to open projects in VisualStudio or else you will get project loading problems. You can find the link above.** +**Make sure you have the .NET 6 preview SDK installed machine-wide in order to be able to open projects in VisualStudio or else you will get project loading problems. You can find the link above.** In order to be able to open and build most projects in the repo with Visual Studio, you would have to already have run `build.cmd` from the root at least once. This is because this command will restore basic tooling and SDKs that most of the repo relies on. Once you have done that once, you should be able to open individual projects with Visual Studio, and should be able to build them in the IDE. @@ -29,3 +29,6 @@ When opening the main library project (System.Device.Gpio) in Visual Studio, you ![](images/configurations.png) It is worth noting that files which are specific to the Linux configuration of a project, will have a filename like `*.Linux.cs` while the ones that are specific to Windows would have it like `*.Windows.cs` instead. + +To work with individual bindings, each folder under `src/devices/` has a solution that includes all relevant projects for that binding, together with an example project using the binding and the unit tests (if any). These solutions are the preferred way of working with individual bindings. + -- GitLab