JetBrains Rider 2018.2 Help

Toolset and Build

File | Settings | Build, Execution, Deployment | Toolset and Build for Windows and Linux
JetBrains Rider | Preferences | Build, Execution, Deployment | Toolset and Build for macOS
Ctrl+Alt+S icons general settings svg


On this page, you can configure Rider's build process.

Item

Description

Toolset

Mono executable path

You will need to specify Mono executable if you want to build .NET projects on macOS.

.NET Core CLI executable path

Use this option to specify the build executable for .NET Core projects.

Use MSBuild.exe version

Using this selector, you can choose the version of MSBuild.exe that is used to build the solution. You can choose one of the automatically detected MSBuild versions, or specify the path to a custom MSBuild executable in a non-standard location.

Build Engine

Use ReSharper Build

If this check box is selected, JetBrains Rider will optimize build process with ReSharper Build, which tracks changes in your solution and only rebuilds modified projects and necessary dependencies.
If the check box is unselected, Rider will delegate the entire solution build to MSBuild.exe. You may need to disable this option if your solution includes non-MSBuild projects or projects with custom build steps.

Run build after solution is loaded

This self-explanatory option will be applied independently of selected build management preference.

Build Parameters

Use up to X processes in parallel

Using this selector, you can choose the number of parallel process used to build the solution.

Restore NuGet packages before build

When this check box is selected, JetBrains Rider will restore NuGet packages for all projects in the current solution. Note that this option requires .NET Framework 4.5 or higher to be installed on your machine. Rider will only restore NuGet packages if this is allowed by the corresponding options on the Build, Execution, Deployment | NuGet settings page.

Write log to output

When this check box is selected, log items selected under it will be shown in the Build window.

Write to log file

When this check box is selected, build output is saved to a log file. Use controls under this check box to choose a verbosity level and a path where the log file is saved. If the selected log directory does not exist, it is shown in red. However, JetBrains Rider will create the non-existent path when logging to file for the first time.
Note that logging to file does not depend on logging to the Build window.

Invoke Pre- and Post- build event targets for skipped projects

When JetBrains Rider uses heuristics to skip some projects during the build process, such projects are skipped completely, including all additional build logic.
Use this checkbox to always execute pre-build and post-build events for all projects.

Invoke BeforeBuild and AfterBuild targets for skipped projects

When JetBrains Rider uses heuristics to skip some projects during the build process, such projects are skipped completely, including all additional build logic.
Use this checkbox to always execute BeforeBuild and AfterBuild MSBuild targets.

Pass Visual Studio parameters to the build

If you choose to delegate solution build to MSBuild (the Use ReSharper Build option is not selected), JetBrains Rider will not pass the $(VisualStudioVersion) and $(BuildingInsideVisualStudio) properties to the MSBuild by default.
If these properties are used in your projects, select this checkbox to override the default behavior.

Last modified: 17 October 2018