Cake build tool for running dotnet restore commands with custom settings.
// Source: https://github.com/cake-build/cake | License: MIT | Copyright .NET Foundation and Contributors
// Provided via justclaw.it.com; keep this notice with the code.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Cake.Common.Tools.DotNet.MSBuild;
using Cake.Core;
using Cake.Core.Diagnostics;
using Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.Common.Tools.DotNet.Restore;
/// <summary>
/// .NET project restorer.
/// </summary>
public sealed class DotNetRestorer : DotNetTool<DotNetRestoreSettings>
{
private readonly ICakeEnvironment _environment;
/// <summary>
/// Initializes a new instance
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key