diff --git a/Installation.md b/Installation.md index ba03c4f..03de710 100644 --- a/Installation.md +++ b/Installation.md @@ -458,30 +458,28 @@ dnf -y install gcc gcc-c++ #### C# and .NET Core -**We are currently migrating configuration from Mono to .NET Core. This +**We have recently migrated the configuration from Mono to .NET Core. This configuration applies to `cs-dotnet-core` environment, `mono` is considered deprecated.** Install .NET core SDK: ``` -# dnf -y install dotnet-sdk-3.1 +# dnf -y install dotnet-sdk-6.0 ``` -DOTNET_ROOT: /usr/lib64/dotnet -DOTNET_BUNDLE_EXTRACT_BASE_DIR: /box/.dotnet-bundle_extract +Locate yout main `dotnet` directory (on Centos-like systems, it should be in `/usr/lib64/dotnet`). +Create a symlink `/opt/dotnet` that points to the main directory. This way we ensure the same +directory for different linux distributions. +Add `-src: "/opt/dotnet"` to `bound-directories` config section of the worker. -Download the following files: +We also need to ensure the same paths for all .NET versions (actually, we are concerned only by builds, current pipeline requires .NET 6.0). +Create the following symlinks (preferably relative): ``` -https://raw.githubusercontent.com/ReCodEx/utils/master/runners/cs/Reader.cs -https://raw.githubusercontent.com/ReCodEx/utils/master/runners/cs/Wrapper.cs -https://raw.githubusercontent.com/ReCodEx/utils/master/runners/cs/recodex.csproj +/opt/dotnet/sdk/latest -> /opt/dotnet/sdk/6.0.101 +/opt/dotnet/shared/Microsoft.NETCore.App/latest -> /opt/dotnet/shared/Microsoft.NETCore.App/6.0.1 ``` - -Open your running ReCodEx instance in web browser and log in as administrator. -Open `Pipeline` page, find the *C# .NET Core Compilation* pipeline, and click on -the `Edit` button on the right. Scroll down to *Supplementary files* box -and upload all three downloaded files here. +(the versions might change slightly in the last number). #### Free Pascal