diff --git a/source/Nuke.Common/Tools/Codecov/Codecov.Generated.cs b/source/Nuke.Common/Tools/Codecov/Codecov.Generated.cs index 34742c39b..4665ca61b 100644 --- a/source/Nuke.Common/Tools/Codecov/Codecov.Generated.cs +++ b/source/Nuke.Common/Tools/Codecov/Codecov.Generated.cs @@ -27,7 +27,7 @@ namespace Nuke.Common.Tools.Codecov; public partial class CodecovTasks : IRequireNuGetPackage { - public const string CodecovPackageId = "Codecov.Tool"; + public const string CodecovPackageId = "CodecovUploader"; /// /// Path to the Codecov executable. /// diff --git a/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs b/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs index 81b9b753b..dbd8f89cf 100644 --- a/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs +++ b/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs @@ -859,6 +859,7 @@ public static IReadOnlyCollection DotNetFormat(ConfigureThis is a CLI wrapper with fluent API that allows to modify the following arguments:

/// /// public static IReadOnlyCollection DotNetPublish(DotNetPublishSettings toolSettings = null) @@ -899,6 +902,7 @@ public static IReadOnlyCollection DotNetPublish(DotNetPublishSettings to ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

///
    ///
  • <project> via
  • + ///
  • --arch via
  • ///
  • --configuration via
  • ///
  • --disable-parallel via
  • ///
  • --force via
  • @@ -913,6 +917,7 @@ public static IReadOnlyCollection DotNetPublish(DotNetPublishSettings to ///
  • --no-dependencies via
  • ///
  • --no-restore via
  • ///
  • --nologo via
  • + ///
  • --os via
  • ///
  • --output via
  • ///
  • --packages via
  • ///
  • --runtime via
  • @@ -922,6 +927,7 @@ public static IReadOnlyCollection DotNetPublish(DotNetPublishSettings to ///
  • --verbosity via
  • ///
  • --version-suffix via
  • ///
  • /property via
  • + ///
  • /t via
  • ///
/// public static IReadOnlyCollection DotNetPublish(Configure configurator) @@ -936,6 +942,7 @@ public static IReadOnlyCollection DotNetPublish(ConfigureThis is a CLI wrapper with fluent API that allows to modify the following arguments:

///
    ///
  • <project> via
  • + ///
  • --arch via
  • ///
  • --configuration via
  • ///
  • --disable-parallel via
  • ///
  • --force via
  • @@ -950,6 +957,7 @@ public static IReadOnlyCollection DotNetPublish(Configure--no-dependencies via ///
  • --no-restore via
  • ///
  • --nologo via
  • + ///
  • --os via
  • ///
  • --output via
  • ///
  • --packages via
  • ///
  • --runtime via
  • @@ -959,6 +967,7 @@ public static IReadOnlyCollection DotNetPublish(Configure--verbosity via ///
  • --version-suffix via
  • ///
  • /property via
  • + ///
  • /t via
  • ///
/// public static IEnumerable<(DotNetPublishSettings Settings, IReadOnlyCollection Output)> DotNetPublish(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) @@ -1430,6 +1439,7 @@ public static IReadOnlyCollection DotNetToolUpdate(Configure--interactive via ///
  • --no-cache via
  • ///
  • --skip-manifest-update via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -1457,6 +1467,7 @@ public static IReadOnlyCollection DotNetWorkloadInstall(DotNetWorkloadIn ///
  • --interactive via
  • ///
  • --no-cache via
  • ///
  • --skip-manifest-update via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -1481,6 +1492,7 @@ public static IReadOnlyCollection DotNetWorkloadInstall(Configure--interactive via ///
  • --no-cache via
  • ///
  • --skip-manifest-update via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -1550,6 +1562,7 @@ public static IReadOnlyCollection DotNetWorkloadUninstall(Configure--interactive via ///
  • --no-cache via
  • ///
  • --skip-manifest-update via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -1577,6 +1590,7 @@ public static IReadOnlyCollection DotNetWorkloadRestore(DotNetWorkloadRe ///
  • --interactive via
  • ///
  • --no-cache via
  • ///
  • --skip-manifest-update via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -1601,6 +1615,7 @@ public static IReadOnlyCollection DotNetWorkloadRestore(Configure--interactive via ///
  • --no-cache via
  • ///
  • --skip-manifest-update via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -1625,6 +1640,7 @@ public static IReadOnlyCollection DotNetWorkloadRestore(Configure--include-previews via ///
  • --interactive via
  • ///
  • --no-cache via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -1652,6 +1668,7 @@ public static IReadOnlyCollection DotNetWorkloadUpdate(DotNetWorkloadUpd ///
  • --include-previews via
  • ///
  • --interactive via
  • ///
  • --no-cache via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -1676,6 +1693,7 @@ public static IReadOnlyCollection DotNetWorkloadUpdate(Configure--include-previews via ///
  • --interactive via
  • ///
  • --no-cache via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -1698,6 +1716,7 @@ public static IReadOnlyCollection DotNetWorkloadUpdate(Configure--include-previews via ///
  • --interactive via
  • ///
  • --no-cache via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -1723,6 +1742,7 @@ public static IReadOnlyCollection DotNetWorkloadRepair(DotNetWorkloadRep ///
  • --include-previews via
  • ///
  • --interactive via
  • ///
  • --no-cache via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -1745,6 +1765,7 @@ public static IReadOnlyCollection DotNetWorkloadRepair(Configure--include-previews via ///
  • --interactive via
  • ///
  • --no-cache via
  • + ///
  • --skip-sign-check via
  • ///
  • --source via
  • ///
  • --temp-dir via
  • ///
  • --verbosity via
  • @@ -2761,6 +2782,10 @@ public partial class DotNetPublishSettings : ToolSettings /// public virtual string Project { get; internal set; } /// + /// Specifies the target architecture. This is a shorthand syntax for setting the Runtime Identifier (RID), where the provided value is combined with the default RID. For example, on a win-x64 machine, specifying --arch x86 sets the RID to win-x86. If you use this option, don't use the -r|--runtime option. Available since .NET 6 Preview 7. + /// + public virtual string Architecture { get; internal set; } + /// /// Defines the build configuration. The default value is Debug. /// public virtual string Configuration { get; internal set; } @@ -2785,6 +2810,10 @@ public partial class DotNetPublishSettings : ToolSettings /// public virtual string Output { get; internal set; } /// + /// Specifies the target operating system (OS). This is a shorthand syntax for setting the Runtime Identifier (RID), where the provided value is combined with the default RID. For example, on a win-x64 machine, specifying --os linux sets the RID to linux-x64. If you use this option, don't use the -r|--runtime option. Available since .NET 6. + /// + public virtual string OperatingSystem { get; internal set; } + /// /// Publishes the .NET Core runtime with your application so the runtime doesn't need to be installed on the target machine. If a runtime identifier is specified, its default value is true. For more information about the different deployment types, see .NET Core application deployment. /// public virtual bool? SelfContained { get; internal set; } @@ -2805,6 +2834,11 @@ public partial class DotNetPublishSettings : ToolSettings /// public virtual bool? NoLogo { get; internal set; } /// + ///

    Build the specified targets in the project. Specify each target separately, or use a semicolon or comma to separate multiple targets, as the following example shows:
    /target:Resources;Compile

    If you specify any targets by using this switch, they are run instead of any targets in the DefaultTargets attribute in the project file. For more information, see Target Build Order and How to: Specify Which Target to Build First.

    A target is a group of tasks. For more information, see Targets.

    + ///
    + public virtual IReadOnlyList Targets => TargetsInternal.AsReadOnly(); + internal List TargetsInternal { get; set; } = new List(); + /// /// Disables restoring multiple projects in parallel. /// public virtual bool? DisableParallel { get; internal set; } @@ -2859,17 +2893,20 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) arguments .Add("publish") .Add("{value}", Project) + .Add("--arch {value}", Architecture) .Add("--configuration {value}", Configuration) .Add("--framework {value}", Framework) .Add("--manifest {value}", Manifest) .Add("--no-restore", NoRestore) .Add("--no-build", NoBuild) .Add("--output {value}", Output) + .Add("--os {value}", OperatingSystem) .Add("--self-contained {value}", SelfContained) .Add("--runtime {value}", Runtime) .Add("--verbosity {value}", Verbosity) .Add("--version-suffix {value}", VersionSuffix) .Add("--nologo", NoLogo) + .Add("/t:{value}", Targets, separator: ';') .Add("--disable-parallel", DisableParallel) .Add("--force", Force) .Add("--ignore-failed-sources", IgnoreFailedSources) @@ -3361,6 +3398,10 @@ public partial class DotNetWorkloadInstallSettings : ToolSettings /// public virtual bool? SkipManifestUpdate { get; internal set; } /// + /// Skipping the nuget package signature verification. + /// + public virtual bool? SkipSignCheck { get; internal set; } + /// /// Specifies the URI of the NuGet package source to use. This setting overrides all of the sources specified in the nuget.config files. Multiple sources can be provided by specifying this option multiple times. /// public virtual string Source { get; internal set; } @@ -3384,6 +3425,7 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) .Add("--interactive", Interactive) .Add("--no-cache", NoCache) .Add("--skip-manifest-update", SkipManifestUpdate) + .Add("--skip-sign-check", SkipSignCheck) .Add("--source {value}", Source) .Add("--temp-dir {value}", TempDir) .Add("--verbosity {value}", Verbosity); @@ -3468,6 +3510,10 @@ public partial class DotNetWorkloadRestoreSettings : ToolSettings /// public virtual bool? SkipManifestUpdate { get; internal set; } /// + /// Skipping the nuget package signature verification. + /// + public virtual bool? SkipSignCheck { get; internal set; } + /// /// Specifies the URI of the NuGet package source to use. This setting overrides all of the sources specified in the nuget.config files. Multiple sources can be provided by specifying this option multiple times. /// public virtual string Source { get; internal set; } @@ -3491,6 +3537,7 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) .Add("--interactive", Interactive) .Add("--no-cache", NoCache) .Add("--skip-manifest-update", SkipManifestUpdate) + .Add("--skip-sign-check", SkipSignCheck) .Add("--source {value}", Source) .Add("--temp-dir {value}", TempDir) .Add("--verbosity {value}", Verbosity); @@ -3546,6 +3593,10 @@ public partial class DotNetWorkloadUpdateSettings : ToolSettings /// public virtual bool? NoCache { get; internal set; } /// + /// Skipping the nuget package signature verification. + /// + public virtual bool? SkipSignCheck { get; internal set; } + /// /// Specifies the URI of the NuGet package source to use. This setting overrides all of the sources specified in the nuget.config files. Multiple sources can be provided by specifying this option multiple times. /// public virtual string Source { get; internal set; } @@ -3569,6 +3620,7 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) .Add("--include-previews", IncludePreviews) .Add("--interactive", Interactive) .Add("--no-cache", NoCache) + .Add("--skip-sign-check", SkipSignCheck) .Add("--source {value}", Source) .Add("--temp-dir {value}", TempDir) .Add("--verbosity {value}", Verbosity); @@ -3616,6 +3668,10 @@ public partial class DotNetWorkloadRepairSettings : ToolSettings /// public virtual bool? NoCache { get; internal set; } /// + /// Skipping the nuget package signature verification. + /// + public virtual bool? SkipSignCheck { get; internal set; } + /// /// Specifies the URI of the NuGet package source to use. This setting overrides all of the sources specified in the nuget.config files. Multiple sources can be provided by specifying this option multiple times. /// public virtual string Source { get; internal set; } @@ -3637,6 +3693,7 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) .Add("--include-previews", IncludePreviews) .Add("--interactive", Interactive) .Add("--no-cache", NoCache) + .Add("--skip-sign-check", SkipSignCheck) .Add("--source {value}", Source) .Add("--temp-dir {value}", TempDir) .Add("--verbosity {value}", Verbosity); @@ -19814,6 +19871,30 @@ public static T ResetProject(this T toolSettings) where T : DotNetPublishSett return toolSettings; } #endregion + #region Architecture + /// + ///

    Sets

    + ///

    Specifies the target architecture. This is a shorthand syntax for setting the Runtime Identifier (RID), where the provided value is combined with the default RID. For example, on a win-x64 machine, specifying --arch x86 sets the RID to win-x86. If you use this option, don't use the -r|--runtime option. Available since .NET 6 Preview 7.

    + ///
    + [Pure] + public static T SetArchitecture(this T toolSettings, string architecture) where T : DotNetPublishSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Architecture = architecture; + return toolSettings; + } + /// + ///

    Resets

    + ///

    Specifies the target architecture. This is a shorthand syntax for setting the Runtime Identifier (RID), where the provided value is combined with the default RID. For example, on a win-x64 machine, specifying --arch x86 sets the RID to win-x86. If you use this option, don't use the -r|--runtime option. Available since .NET 6 Preview 7.

    + ///
    + [Pure] + public static T ResetArchitecture(this T toolSettings) where T : DotNetPublishSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Architecture = null; + return toolSettings; + } + #endregion #region Configuration /// ///

    Sets

    @@ -20024,6 +20105,30 @@ public static T ResetOutput(this T toolSettings) where T : DotNetPublishSetti return toolSettings; } #endregion + #region OperatingSystem + /// + ///

    Sets

    + ///

    Specifies the target operating system (OS). This is a shorthand syntax for setting the Runtime Identifier (RID), where the provided value is combined with the default RID. For example, on a win-x64 machine, specifying --os linux sets the RID to linux-x64. If you use this option, don't use the -r|--runtime option. Available since .NET 6.

    + ///
    + [Pure] + public static T SetOperatingSystem(this T toolSettings, string operatingSystem) where T : DotNetPublishSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.OperatingSystem = operatingSystem; + return toolSettings; + } + /// + ///

    Resets

    + ///

    Specifies the target operating system (OS). This is a shorthand syntax for setting the Runtime Identifier (RID), where the provided value is combined with the default RID. For example, on a win-x64 machine, specifying --os linux sets the RID to linux-x64. If you use this option, don't use the -r|--runtime option. Available since .NET 6.

    + ///
    + [Pure] + public static T ResetOperatingSystem(this T toolSettings) where T : DotNetPublishSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.OperatingSystem = null; + return toolSettings; + } + #endregion #region SelfContained /// ///

    Sets

    @@ -20210,6 +20315,87 @@ public static T ToggleNoLogo(this T toolSettings) where T : DotNetPublishSett return toolSettings; } #endregion + #region Targets + /// + ///

    Sets to a new list

    + ///

    Build the specified targets in the project. Specify each target separately, or use a semicolon or comma to separate multiple targets, as the following example shows:
    /target:Resources;Compile

    If you specify any targets by using this switch, they are run instead of any targets in the DefaultTargets attribute in the project file. For more information, see Target Build Order and How to: Specify Which Target to Build First.

    A target is a group of tasks. For more information, see Targets.

    + ///
    + [Pure] + public static T SetTargets(this T toolSettings, params string[] targets) where T : DotNetPublishSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.TargetsInternal = targets.ToList(); + return toolSettings; + } + /// + ///

    Sets to a new list

    + ///

    Build the specified targets in the project. Specify each target separately, or use a semicolon or comma to separate multiple targets, as the following example shows:
    /target:Resources;Compile

    If you specify any targets by using this switch, they are run instead of any targets in the DefaultTargets attribute in the project file. For more information, see Target Build Order and How to: Specify Which Target to Build First.

    A target is a group of tasks. For more information, see Targets.

    + ///
    + [Pure] + public static T SetTargets(this T toolSettings, IEnumerable targets) where T : DotNetPublishSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.TargetsInternal = targets.ToList(); + return toolSettings; + } + /// + ///

    Adds values to

    + ///

    Build the specified targets in the project. Specify each target separately, or use a semicolon or comma to separate multiple targets, as the following example shows:
    /target:Resources;Compile

    If you specify any targets by using this switch, they are run instead of any targets in the DefaultTargets attribute in the project file. For more information, see Target Build Order and How to: Specify Which Target to Build First.

    A target is a group of tasks. For more information, see Targets.

    + ///
    + [Pure] + public static T AddTargets(this T toolSettings, params string[] targets) where T : DotNetPublishSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.TargetsInternal.AddRange(targets); + return toolSettings; + } + /// + ///

    Adds values to

    + ///

    Build the specified targets in the project. Specify each target separately, or use a semicolon or comma to separate multiple targets, as the following example shows:
    /target:Resources;Compile

    If you specify any targets by using this switch, they are run instead of any targets in the DefaultTargets attribute in the project file. For more information, see Target Build Order and How to: Specify Which Target to Build First.

    A target is a group of tasks. For more information, see Targets.

    + ///
    + [Pure] + public static T AddTargets(this T toolSettings, IEnumerable targets) where T : DotNetPublishSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.TargetsInternal.AddRange(targets); + return toolSettings; + } + /// + ///

    Clears

    + ///

    Build the specified targets in the project. Specify each target separately, or use a semicolon or comma to separate multiple targets, as the following example shows:
    /target:Resources;Compile

    If you specify any targets by using this switch, they are run instead of any targets in the DefaultTargets attribute in the project file. For more information, see Target Build Order and How to: Specify Which Target to Build First.

    A target is a group of tasks. For more information, see Targets.

    + ///
    + [Pure] + public static T ClearTargets(this T toolSettings) where T : DotNetPublishSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.TargetsInternal.Clear(); + return toolSettings; + } + /// + ///

    Removes values from

    + ///

    Build the specified targets in the project. Specify each target separately, or use a semicolon or comma to separate multiple targets, as the following example shows:
    /target:Resources;Compile

    If you specify any targets by using this switch, they are run instead of any targets in the DefaultTargets attribute in the project file. For more information, see Target Build Order and How to: Specify Which Target to Build First.

    A target is a group of tasks. For more information, see Targets.

    + ///
    + [Pure] + public static T RemoveTargets(this T toolSettings, params string[] targets) where T : DotNetPublishSettings + { + toolSettings = toolSettings.NewInstance(); + var hashSet = new HashSet(targets); + toolSettings.TargetsInternal.RemoveAll(x => hashSet.Contains(x)); + return toolSettings; + } + /// + ///

    Removes values from

    + ///

    Build the specified targets in the project. Specify each target separately, or use a semicolon or comma to separate multiple targets, as the following example shows:
    /target:Resources;Compile

    If you specify any targets by using this switch, they are run instead of any targets in the DefaultTargets attribute in the project file. For more information, see Target Build Order and How to: Specify Which Target to Build First.

    A target is a group of tasks. For more information, see Targets.

    + ///
    + [Pure] + public static T RemoveTargets(this T toolSettings, IEnumerable targets) where T : DotNetPublishSettings + { + toolSettings = toolSettings.NewInstance(); + var hashSet = new HashSet(targets); + toolSettings.TargetsInternal.RemoveAll(x => hashSet.Contains(x)); + return toolSettings; + } + #endregion #region DisableParallel /// ///

    Sets

    @@ -24659,6 +24845,63 @@ public static T ToggleSkipManifestUpdate(this T toolSettings) where T : DotNe return toolSettings; } #endregion + #region SkipSignCheck + /// + ///

    Sets

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T SetSkipSignCheck(this T toolSettings, bool? skipSignCheck) where T : DotNetWorkloadInstallSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = skipSignCheck; + return toolSettings; + } + /// + ///

    Resets

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T ResetSkipSignCheck(this T toolSettings) where T : DotNetWorkloadInstallSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = null; + return toolSettings; + } + /// + ///

    Enables

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T EnableSkipSignCheck(this T toolSettings) where T : DotNetWorkloadInstallSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = true; + return toolSettings; + } + /// + ///

    Disables

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T DisableSkipSignCheck(this T toolSettings) where T : DotNetWorkloadInstallSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = false; + return toolSettings; + } + /// + ///

    Toggles

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T ToggleSkipSignCheck(this T toolSettings) where T : DotNetWorkloadInstallSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = !toolSettings.SkipSignCheck; + return toolSettings; + } + #endregion #region Source /// ///

    Sets

    @@ -25222,6 +25465,63 @@ public static T ToggleSkipManifestUpdate(this T toolSettings) where T : DotNe return toolSettings; } #endregion + #region SkipSignCheck + /// + ///

    Sets

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T SetSkipSignCheck(this T toolSettings, bool? skipSignCheck) where T : DotNetWorkloadRestoreSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = skipSignCheck; + return toolSettings; + } + /// + ///

    Resets

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T ResetSkipSignCheck(this T toolSettings) where T : DotNetWorkloadRestoreSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = null; + return toolSettings; + } + /// + ///

    Enables

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T EnableSkipSignCheck(this T toolSettings) where T : DotNetWorkloadRestoreSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = true; + return toolSettings; + } + /// + ///

    Disables

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T DisableSkipSignCheck(this T toolSettings) where T : DotNetWorkloadRestoreSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = false; + return toolSettings; + } + /// + ///

    Toggles

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T ToggleSkipSignCheck(this T toolSettings) where T : DotNetWorkloadRestoreSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = !toolSettings.SkipSignCheck; + return toolSettings; + } + #endregion #region Source /// ///

    Sets

    @@ -25727,6 +26027,63 @@ public static T ToggleNoCache(this T toolSettings) where T : DotNetWorkloadUp return toolSettings; } #endregion + #region SkipSignCheck + /// + ///

    Sets

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T SetSkipSignCheck(this T toolSettings, bool? skipSignCheck) where T : DotNetWorkloadUpdateSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = skipSignCheck; + return toolSettings; + } + /// + ///

    Resets

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T ResetSkipSignCheck(this T toolSettings) where T : DotNetWorkloadUpdateSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = null; + return toolSettings; + } + /// + ///

    Enables

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T EnableSkipSignCheck(this T toolSettings) where T : DotNetWorkloadUpdateSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = true; + return toolSettings; + } + /// + ///

    Disables

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T DisableSkipSignCheck(this T toolSettings) where T : DotNetWorkloadUpdateSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = false; + return toolSettings; + } + /// + ///

    Toggles

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T ToggleSkipSignCheck(this T toolSettings) where T : DotNetWorkloadUpdateSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = !toolSettings.SkipSignCheck; + return toolSettings; + } + #endregion #region Source /// ///

    Sets

    @@ -26118,6 +26475,63 @@ public static T ToggleNoCache(this T toolSettings) where T : DotNetWorkloadRe return toolSettings; } #endregion + #region SkipSignCheck + /// + ///

    Sets

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T SetSkipSignCheck(this T toolSettings, bool? skipSignCheck) where T : DotNetWorkloadRepairSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = skipSignCheck; + return toolSettings; + } + /// + ///

    Resets

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T ResetSkipSignCheck(this T toolSettings) where T : DotNetWorkloadRepairSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = null; + return toolSettings; + } + /// + ///

    Enables

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T EnableSkipSignCheck(this T toolSettings) where T : DotNetWorkloadRepairSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = true; + return toolSettings; + } + /// + ///

    Disables

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T DisableSkipSignCheck(this T toolSettings) where T : DotNetWorkloadRepairSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = false; + return toolSettings; + } + /// + ///

    Toggles

    + ///

    Skipping the nuget package signature verification.

    + ///
    + [Pure] + public static T ToggleSkipSignCheck(this T toolSettings) where T : DotNetWorkloadRepairSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.SkipSignCheck = !toolSettings.SkipSignCheck; + return toolSettings; + } + #endregion #region Source /// ///

    Sets

    diff --git a/source/Nuke.Common/Tools/DotnetPackaging/DotnetPackaging.Generated.cs b/source/Nuke.Common/Tools/DotnetPackaging/DotnetPackaging.Generated.cs new file mode 100644 index 000000000..0a9e56ce7 --- /dev/null +++ b/source/Nuke.Common/Tools/DotnetPackaging/DotnetPackaging.Generated.cs @@ -0,0 +1,958 @@ +// Generated from https://github.com/nuke-build/nuke/blob/master/source/Nuke.Common/Tools/DotnetPackaging/DotnetPackaging.json + +using JetBrains.Annotations; +using Newtonsoft.Json; +using Nuke.Common; +using Nuke.Common.Tooling; +using Nuke.Common.Tools; +using Nuke.Common.Utilities.Collections; +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; +using System.IO; +using System.Linq; +using System.Text; + +namespace Nuke.Common.Tools.DotnetPackaging; + +/// +///

    DotnetPackaging is able to package your application into various formats, including Deb and AppImage.

    +///

    For more details, visit the official website.

    +///
    +[PublicAPI] +[ExcludeFromCodeCoverage] +[NuGetPackageRequirement(DotnetPackagingPackageId)] +public partial class DotnetPackagingTasks + : IRequireNuGetPackage +{ + public const string DotnetPackagingPackageId = "DotnetPackaging.Console"; + /// + /// Path to the DotnetPackaging executable. + /// + public static string DotnetPackagingPath => + ToolPathResolver.TryGetEnvironmentExecutable("DOTNETPACKAGING_EXE") ?? + NuGetToolPathResolver.GetPackageExecutable("DotnetPackaging.Console", "DotnetPackaging.Console.dll"); + public static Action DotnetPackagingLogger { get; set; } = ProcessTasks.DefaultLogger; + public static Action DotnetPackagingExitHandler { get; set; } = ProcessTasks.DefaultExitHandler; + /// + ///

    DotnetPackaging is able to package your application into various formats, including Deb and AppImage.

    + ///

    For more details, visit the official website.

    + ///
    + public static IReadOnlyCollection DotnetPackaging(ArgumentStringHandler arguments, string workingDirectory = null, IReadOnlyDictionary environmentVariables = null, int? timeout = null, bool? logOutput = null, bool? logInvocation = null, Action logger = null, Action exitHandler = null) + { + using var process = ProcessTasks.StartProcess(DotnetPackagingPath, arguments, workingDirectory, environmentVariables, timeout, logOutput, logInvocation, logger ?? DotnetPackagingLogger); + (exitHandler ?? (p => DotnetPackagingExitHandler.Invoke(null, p))).Invoke(process.AssertWaitForExit()); + return process.Output; + } + /// + ///

    Creates a Debian package from the specified directory.

    + ///

    For more details, visit the official website.

    + ///
    + /// + ///

    This is a CLI wrapper with fluent API that allows to modify the following arguments:

    + ///
      + ///
    • --directory via
    • + ///
    • --metadata via
    • + ///
    • --output via
    • + ///
    + ///
    + public static IReadOnlyCollection DotnetPackagingDeb(DotnetPackagingDebSettings toolSettings = null) + { + toolSettings = toolSettings ?? new DotnetPackagingDebSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + ///

    Creates a Debian package from the specified directory.

    + ///

    For more details, visit the official website.

    + ///
    + /// + ///

    This is a CLI wrapper with fluent API that allows to modify the following arguments:

    + ///
      + ///
    • --directory via
    • + ///
    • --metadata via
    • + ///
    • --output via
    • + ///
    + ///
    + public static IReadOnlyCollection DotnetPackagingDeb(Configure configurator) + { + return DotnetPackagingDeb(configurator(new DotnetPackagingDebSettings())); + } + /// + ///

    Creates a Debian package from the specified directory.

    + ///

    For more details, visit the official website.

    + ///
    + /// + ///

    This is a CLI wrapper with fluent API that allows to modify the following arguments:

    + ///
      + ///
    • --directory via
    • + ///
    • --metadata via
    • + ///
    • --output via
    • + ///
    + ///
    + public static IEnumerable<(DotnetPackagingDebSettings Settings, IReadOnlyCollection Output)> DotnetPackagingDeb(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(DotnetPackagingDeb, DotnetPackagingLogger, degreeOfParallelism, completeOnFailure); + } + /// + ///

    Creates an AppImage package.

    + ///

    For more details, visit the official website.

    + ///
    + /// + ///

    This is a CLI wrapper with fluent API that allows to modify the following arguments:

    + ///
      + ///
    • --additional-categories via
    • + ///
    • --appId via
    • + ///
    • --application-name via
    • + ///
    • --directory via
    • + ///
    • --homepage via
    • + ///
    • --icon via
    • + ///
    • --license via
    • + ///
    • --main-category via
    • + ///
    • --output via
    • + ///
    • --screenshot-urls via
    • + ///
    • --summary via
    • + ///
    • --version via
    • + ///
    + ///
    + public static IReadOnlyCollection DotnetPackagingAppImage(DotnetPackagingAppImageSettings toolSettings = null) + { + toolSettings = toolSettings ?? new DotnetPackagingAppImageSettings(); + using var process = ProcessTasks.StartProcess(toolSettings); + toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); + return process.Output; + } + /// + ///

    Creates an AppImage package.

    + ///

    For more details, visit the official website.

    + ///
    + /// + ///

    This is a CLI wrapper with fluent API that allows to modify the following arguments:

    + ///
      + ///
    • --additional-categories via
    • + ///
    • --appId via
    • + ///
    • --application-name via
    • + ///
    • --directory via
    • + ///
    • --homepage via
    • + ///
    • --icon via
    • + ///
    • --license via
    • + ///
    • --main-category via
    • + ///
    • --output via
    • + ///
    • --screenshot-urls via
    • + ///
    • --summary via
    • + ///
    • --version via
    • + ///
    + ///
    + public static IReadOnlyCollection DotnetPackagingAppImage(Configure configurator) + { + return DotnetPackagingAppImage(configurator(new DotnetPackagingAppImageSettings())); + } + /// + ///

    Creates an AppImage package.

    + ///

    For more details, visit the official website.

    + ///
    + /// + ///

    This is a CLI wrapper with fluent API that allows to modify the following arguments:

    + ///
      + ///
    • --additional-categories via
    • + ///
    • --appId via
    • + ///
    • --application-name via
    • + ///
    • --directory via
    • + ///
    • --homepage via
    • + ///
    • --icon via
    • + ///
    • --license via
    • + ///
    • --main-category via
    • + ///
    • --output via
    • + ///
    • --screenshot-urls via
    • + ///
    • --summary via
    • + ///
    • --version via
    • + ///
    + ///
    + public static IEnumerable<(DotnetPackagingAppImageSettings Settings, IReadOnlyCollection Output)> DotnetPackagingAppImage(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) + { + return configurator.Invoke(DotnetPackagingAppImage, DotnetPackagingLogger, degreeOfParallelism, completeOnFailure); + } +} +#region DotnetPackagingDebSettings +/// +/// Used within . +/// +[PublicAPI] +[ExcludeFromCodeCoverage] +[Serializable] +public partial class DotnetPackagingDebSettings : ToolSettings +{ + /// + /// Path to the DotnetPackaging executable. + /// + public override string ProcessToolPath => base.ProcessToolPath ?? DotnetPackagingTasks.DotnetPackagingPath; + public override Action ProcessLogger => base.ProcessLogger ?? DotnetPackagingTasks.DotnetPackagingLogger; + public override Action ProcessExitHandler => base.ProcessExitHandler ?? DotnetPackagingTasks.DotnetPackagingExitHandler; + /// + /// The input directory from which to create the package. + /// + public virtual string Directory { get; internal set; } + /// + /// The metadata file to include in the package. + /// + public virtual string Metadata { get; internal set; } + /// + /// The output DEB file to create. + /// + public virtual string Output { get; internal set; } + protected override Arguments ConfigureProcessArguments(Arguments arguments) + { + arguments + .Add("deb") + .Add("--directory={value}", Directory) + .Add("--metadata={value}", Metadata) + .Add("--output={value}", Output); + return base.ConfigureProcessArguments(arguments); + } +} +#endregion +#region DotnetPackagingAppImageSettings +/// +/// Used within . +/// +[PublicAPI] +[ExcludeFromCodeCoverage] +[Serializable] +public partial class DotnetPackagingAppImageSettings : ToolSettings +{ + /// + /// Path to the DotnetPackaging executable. + /// + public override string ProcessToolPath => base.ProcessToolPath ?? DotnetPackagingTasks.DotnetPackagingPath; + public override Action ProcessLogger => base.ProcessLogger ?? DotnetPackagingTasks.DotnetPackagingLogger; + public override Action ProcessExitHandler => base.ProcessExitHandler ?? DotnetPackagingTasks.DotnetPackagingExitHandler; + /// + /// The input directory from which to create the AppImage. + /// + public virtual string Directory { get; internal set; } + /// + /// The output AppImage file to create. + /// + public virtual string Output { get; internal set; } + /// + /// The name of the application for the AppImage. + /// + public virtual string ApplicationName { get; internal set; } + /// + /// Main category of the application. + /// + public virtual DotnetPackagingMainCategory MainCategory { get; internal set; } + /// + /// Additional categories for the application. + /// + public virtual IReadOnlyList AdditionalCategories => AdditionalCategoriesInternal.AsReadOnly(); + internal List AdditionalCategoriesInternal { get; set; } = new List(); + /// + /// The icon path for the application. When not provided, the tool looks up for an image called AppImage.png. + /// + public virtual string Icon { get; internal set; } + /// + /// Home page of the application. + /// + public virtual string Homepage { get; internal set; } + /// + /// License of the application. + /// + public virtual string License { get; internal set; } + /// + /// Version of the application. + /// + public virtual string Version { get; internal set; } + /// + /// URLs of screenshots of the application. + /// + public virtual IReadOnlyList ScreenshotUrls => ScreenshotUrlsInternal.AsReadOnly(); + internal List ScreenshotUrlsInternal { get; set; } = new List(); + /// + /// Short description of the application. + /// + public virtual string Summary { get; internal set; } + /// + /// Application ID, usually a reverse DNS name like com.SomeCompany.SomeApplication. + /// + public virtual string AppId { get; internal set; } + protected override Arguments ConfigureProcessArguments(Arguments arguments) + { + arguments + .Add("appimage") + .Add("--directory={value}", Directory) + .Add("--output={value}", Output) + .Add("--application-name={value}", ApplicationName) + .Add("--main-category {value}", MainCategory) + .Add("--additional-categories {value}", AdditionalCategories) + .Add("--icon {value}", Icon) + .Add("--homepage {value}", Homepage) + .Add("--license {value}", License) + .Add("--version {value}", Version) + .Add("--screenshot-urls {value}", ScreenshotUrls) + .Add("--summary {value}", Summary) + .Add("--appId {value}", AppId); + return base.ConfigureProcessArguments(arguments); + } +} +#endregion +#region DotnetPackagingDebSettingsExtensions +/// +/// Used within . +/// +[PublicAPI] +[ExcludeFromCodeCoverage] +public static partial class DotnetPackagingDebSettingsExtensions +{ + #region Directory + /// + ///

    Sets

    + ///

    The input directory from which to create the package.

    + ///
    + [Pure] + public static T SetDirectory(this T toolSettings, string directory) where T : DotnetPackagingDebSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Directory = directory; + return toolSettings; + } + /// + ///

    Resets

    + ///

    The input directory from which to create the package.

    + ///
    + [Pure] + public static T ResetDirectory(this T toolSettings) where T : DotnetPackagingDebSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Directory = null; + return toolSettings; + } + #endregion + #region Metadata + /// + ///

    Sets

    + ///

    The metadata file to include in the package.

    + ///
    + [Pure] + public static T SetMetadata(this T toolSettings, string metadata) where T : DotnetPackagingDebSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Metadata = metadata; + return toolSettings; + } + /// + ///

    Resets

    + ///

    The metadata file to include in the package.

    + ///
    + [Pure] + public static T ResetMetadata(this T toolSettings) where T : DotnetPackagingDebSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Metadata = null; + return toolSettings; + } + #endregion + #region Output + /// + ///

    Sets

    + ///

    The output DEB file to create.

    + ///
    + [Pure] + public static T SetOutput(this T toolSettings, string output) where T : DotnetPackagingDebSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Output = output; + return toolSettings; + } + /// + ///

    Resets

    + ///

    The output DEB file to create.

    + ///
    + [Pure] + public static T ResetOutput(this T toolSettings) where T : DotnetPackagingDebSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Output = null; + return toolSettings; + } + #endregion +} +#endregion +#region DotnetPackagingAppImageSettingsExtensions +/// +/// Used within . +/// +[PublicAPI] +[ExcludeFromCodeCoverage] +public static partial class DotnetPackagingAppImageSettingsExtensions +{ + #region Directory + /// + ///

    Sets

    + ///

    The input directory from which to create the AppImage.

    + ///
    + [Pure] + public static T SetDirectory(this T toolSettings, string directory) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Directory = directory; + return toolSettings; + } + /// + ///

    Resets

    + ///

    The input directory from which to create the AppImage.

    + ///
    + [Pure] + public static T ResetDirectory(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Directory = null; + return toolSettings; + } + #endregion + #region Output + /// + ///

    Sets

    + ///

    The output AppImage file to create.

    + ///
    + [Pure] + public static T SetOutput(this T toolSettings, string output) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Output = output; + return toolSettings; + } + /// + ///

    Resets

    + ///

    The output AppImage file to create.

    + ///
    + [Pure] + public static T ResetOutput(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Output = null; + return toolSettings; + } + #endregion + #region ApplicationName + /// + ///

    Sets

    + ///

    The name of the application for the AppImage.

    + ///
    + [Pure] + public static T SetApplicationName(this T toolSettings, string applicationName) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.ApplicationName = applicationName; + return toolSettings; + } + /// + ///

    Resets

    + ///

    The name of the application for the AppImage.

    + ///
    + [Pure] + public static T ResetApplicationName(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.ApplicationName = null; + return toolSettings; + } + #endregion + #region MainCategory + /// + ///

    Sets

    + ///

    Main category of the application.

    + ///
    + [Pure] + public static T SetMainCategory(this T toolSettings, DotnetPackagingMainCategory mainCategory) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.MainCategory = mainCategory; + return toolSettings; + } + /// + ///

    Resets

    + ///

    Main category of the application.

    + ///
    + [Pure] + public static T ResetMainCategory(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.MainCategory = null; + return toolSettings; + } + #endregion + #region AdditionalCategories + /// + ///

    Sets to a new list

    + ///

    Additional categories for the application.

    + ///
    + [Pure] + public static T SetAdditionalCategories(this T toolSettings, params DotnetPackagingAdditionalCategory[] additionalCategories) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.AdditionalCategoriesInternal = additionalCategories.ToList(); + return toolSettings; + } + /// + ///

    Sets to a new list

    + ///

    Additional categories for the application.

    + ///
    + [Pure] + public static T SetAdditionalCategories(this T toolSettings, IEnumerable additionalCategories) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.AdditionalCategoriesInternal = additionalCategories.ToList(); + return toolSettings; + } + /// + ///

    Adds values to

    + ///

    Additional categories for the application.

    + ///
    + [Pure] + public static T AddAdditionalCategories(this T toolSettings, params DotnetPackagingAdditionalCategory[] additionalCategories) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.AdditionalCategoriesInternal.AddRange(additionalCategories); + return toolSettings; + } + /// + ///

    Adds values to

    + ///

    Additional categories for the application.

    + ///
    + [Pure] + public static T AddAdditionalCategories(this T toolSettings, IEnumerable additionalCategories) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.AdditionalCategoriesInternal.AddRange(additionalCategories); + return toolSettings; + } + /// + ///

    Clears

    + ///

    Additional categories for the application.

    + ///
    + [Pure] + public static T ClearAdditionalCategories(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.AdditionalCategoriesInternal.Clear(); + return toolSettings; + } + /// + ///

    Removes values from

    + ///

    Additional categories for the application.

    + ///
    + [Pure] + public static T RemoveAdditionalCategories(this T toolSettings, params DotnetPackagingAdditionalCategory[] additionalCategories) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + var hashSet = new HashSet(additionalCategories); + toolSettings.AdditionalCategoriesInternal.RemoveAll(x => hashSet.Contains(x)); + return toolSettings; + } + /// + ///

    Removes values from

    + ///

    Additional categories for the application.

    + ///
    + [Pure] + public static T RemoveAdditionalCategories(this T toolSettings, IEnumerable additionalCategories) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + var hashSet = new HashSet(additionalCategories); + toolSettings.AdditionalCategoriesInternal.RemoveAll(x => hashSet.Contains(x)); + return toolSettings; + } + #endregion + #region Icon + /// + ///

    Sets

    + ///

    The icon path for the application. When not provided, the tool looks up for an image called AppImage.png.

    + ///
    + [Pure] + public static T SetIcon(this T toolSettings, string icon) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Icon = icon; + return toolSettings; + } + /// + ///

    Resets

    + ///

    The icon path for the application. When not provided, the tool looks up for an image called AppImage.png.

    + ///
    + [Pure] + public static T ResetIcon(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Icon = null; + return toolSettings; + } + #endregion + #region Homepage + /// + ///

    Sets

    + ///

    Home page of the application.

    + ///
    + [Pure] + public static T SetHomepage(this T toolSettings, string homepage) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Homepage = homepage; + return toolSettings; + } + /// + ///

    Resets

    + ///

    Home page of the application.

    + ///
    + [Pure] + public static T ResetHomepage(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Homepage = null; + return toolSettings; + } + #endregion + #region License + /// + ///

    Sets

    + ///

    License of the application.

    + ///
    + [Pure] + public static T SetLicense(this T toolSettings, string license) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.License = license; + return toolSettings; + } + /// + ///

    Resets

    + ///

    License of the application.

    + ///
    + [Pure] + public static T ResetLicense(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.License = null; + return toolSettings; + } + #endregion + #region Version + /// + ///

    Sets

    + ///

    Version of the application.

    + ///
    + [Pure] + public static T SetVersion(this T toolSettings, string version) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Version = version; + return toolSettings; + } + /// + ///

    Resets

    + ///

    Version of the application.

    + ///
    + [Pure] + public static T ResetVersion(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Version = null; + return toolSettings; + } + #endregion + #region ScreenshotUrls + /// + ///

    Sets to a new list

    + ///

    URLs of screenshots of the application.

    + ///
    + [Pure] + public static T SetScreenshotUrls(this T toolSettings, params string[] screenshotUrls) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.ScreenshotUrlsInternal = screenshotUrls.ToList(); + return toolSettings; + } + /// + ///

    Sets to a new list

    + ///

    URLs of screenshots of the application.

    + ///
    + [Pure] + public static T SetScreenshotUrls(this T toolSettings, IEnumerable screenshotUrls) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.ScreenshotUrlsInternal = screenshotUrls.ToList(); + return toolSettings; + } + /// + ///

    Adds values to

    + ///

    URLs of screenshots of the application.

    + ///
    + [Pure] + public static T AddScreenshotUrls(this T toolSettings, params string[] screenshotUrls) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.ScreenshotUrlsInternal.AddRange(screenshotUrls); + return toolSettings; + } + /// + ///

    Adds values to

    + ///

    URLs of screenshots of the application.

    + ///
    + [Pure] + public static T AddScreenshotUrls(this T toolSettings, IEnumerable screenshotUrls) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.ScreenshotUrlsInternal.AddRange(screenshotUrls); + return toolSettings; + } + /// + ///

    Clears

    + ///

    URLs of screenshots of the application.

    + ///
    + [Pure] + public static T ClearScreenshotUrls(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.ScreenshotUrlsInternal.Clear(); + return toolSettings; + } + /// + ///

    Removes values from

    + ///

    URLs of screenshots of the application.

    + ///
    + [Pure] + public static T RemoveScreenshotUrls(this T toolSettings, params string[] screenshotUrls) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + var hashSet = new HashSet(screenshotUrls); + toolSettings.ScreenshotUrlsInternal.RemoveAll(x => hashSet.Contains(x)); + return toolSettings; + } + /// + ///

    Removes values from

    + ///

    URLs of screenshots of the application.

    + ///
    + [Pure] + public static T RemoveScreenshotUrls(this T toolSettings, IEnumerable screenshotUrls) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + var hashSet = new HashSet(screenshotUrls); + toolSettings.ScreenshotUrlsInternal.RemoveAll(x => hashSet.Contains(x)); + return toolSettings; + } + #endregion + #region Summary + /// + ///

    Sets

    + ///

    Short description of the application.

    + ///
    + [Pure] + public static T SetSummary(this T toolSettings, string summary) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Summary = summary; + return toolSettings; + } + /// + ///

    Resets

    + ///

    Short description of the application.

    + ///
    + [Pure] + public static T ResetSummary(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.Summary = null; + return toolSettings; + } + #endregion + #region AppId + /// + ///

    Sets

    + ///

    Application ID, usually a reverse DNS name like com.SomeCompany.SomeApplication.

    + ///
    + [Pure] + public static T SetAppId(this T toolSettings, string appId) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.AppId = appId; + return toolSettings; + } + /// + ///

    Resets

    + ///

    Application ID, usually a reverse DNS name like com.SomeCompany.SomeApplication.

    + ///
    + [Pure] + public static T ResetAppId(this T toolSettings) where T : DotnetPackagingAppImageSettings + { + toolSettings = toolSettings.NewInstance(); + toolSettings.AppId = null; + return toolSettings; + } + #endregion +} +#endregion +#region DotnetPackagingMainCategory +/// +/// Used within . +/// +[PublicAPI] +[Serializable] +[ExcludeFromCodeCoverage] +[TypeConverter(typeof(TypeConverter))] +public partial class DotnetPackagingMainCategory : Enumeration +{ + public static DotnetPackagingMainCategory AudioVideo = (DotnetPackagingMainCategory) "AudioVideo"; + public static DotnetPackagingMainCategory Audio = (DotnetPackagingMainCategory) "Audio"; + public static DotnetPackagingMainCategory Video = (DotnetPackagingMainCategory) "Video"; + public static DotnetPackagingMainCategory Development = (DotnetPackagingMainCategory) "Development"; + public static DotnetPackagingMainCategory Education = (DotnetPackagingMainCategory) "Education"; + public static DotnetPackagingMainCategory Game = (DotnetPackagingMainCategory) "Game"; + public static DotnetPackagingMainCategory Graphics = (DotnetPackagingMainCategory) "Graphics"; + public static DotnetPackagingMainCategory Network = (DotnetPackagingMainCategory) "Network"; + public static DotnetPackagingMainCategory Office = (DotnetPackagingMainCategory) "Office"; + public static DotnetPackagingMainCategory Settings = (DotnetPackagingMainCategory) "Settings"; + public static DotnetPackagingMainCategory Utility = (DotnetPackagingMainCategory) "Utility"; + public static implicit operator DotnetPackagingMainCategory(string value) + { + return new DotnetPackagingMainCategory { Value = value }; + } +} +#endregion +#region DotnetPackagingAdditionalCategory +/// +/// Used within . +/// +[PublicAPI] +[Serializable] +[ExcludeFromCodeCoverage] +[TypeConverter(typeof(TypeConverter))] +public partial class DotnetPackagingAdditionalCategory : Enumeration +{ + public static DotnetPackagingAdditionalCategory Building = (DotnetPackagingAdditionalCategory) "Building"; + public static DotnetPackagingAdditionalCategory Debugger = (DotnetPackagingAdditionalCategory) "Debugger"; + public static DotnetPackagingAdditionalCategory IDE = (DotnetPackagingAdditionalCategory) "IDE"; + public static DotnetPackagingAdditionalCategory GUIDesigner = (DotnetPackagingAdditionalCategory) "GUIDesigner"; + public static DotnetPackagingAdditionalCategory Profiling = (DotnetPackagingAdditionalCategory) "Profiling"; + public static DotnetPackagingAdditionalCategory RevisionControl = (DotnetPackagingAdditionalCategory) "RevisionControl"; + public static DotnetPackagingAdditionalCategory Translation = (DotnetPackagingAdditionalCategory) "Translation"; + public static DotnetPackagingAdditionalCategory Calendar = (DotnetPackagingAdditionalCategory) "Calendar"; + public static DotnetPackagingAdditionalCategory ContactManagement = (DotnetPackagingAdditionalCategory) "ContactManagement"; + public static DotnetPackagingAdditionalCategory Database = (DotnetPackagingAdditionalCategory) "Database"; + public static DotnetPackagingAdditionalCategory Dictionary = (DotnetPackagingAdditionalCategory) "Dictionary"; + public static DotnetPackagingAdditionalCategory Chart = (DotnetPackagingAdditionalCategory) "Chart"; + public static DotnetPackagingAdditionalCategory Email = (DotnetPackagingAdditionalCategory) "Email"; + public static DotnetPackagingAdditionalCategory Finance = (DotnetPackagingAdditionalCategory) "Finance"; + public static DotnetPackagingAdditionalCategory FlowChart = (DotnetPackagingAdditionalCategory) "FlowChart"; + public static DotnetPackagingAdditionalCategory PDA = (DotnetPackagingAdditionalCategory) "PDA"; + public static DotnetPackagingAdditionalCategory ProjectManagement = (DotnetPackagingAdditionalCategory) "ProjectManagement"; + public static DotnetPackagingAdditionalCategory Presentation = (DotnetPackagingAdditionalCategory) "Presentation"; + public static DotnetPackagingAdditionalCategory Spreadsheet = (DotnetPackagingAdditionalCategory) "Spreadsheet"; + public static DotnetPackagingAdditionalCategory WordProcessor = (DotnetPackagingAdditionalCategory) "WordProcessor"; + public static DotnetPackagingAdditionalCategory TwoDGraphics = (DotnetPackagingAdditionalCategory) "TwoDGraphics"; + public static DotnetPackagingAdditionalCategory VectorGraphics = (DotnetPackagingAdditionalCategory) "VectorGraphics"; + public static DotnetPackagingAdditionalCategory RasterGraphics = (DotnetPackagingAdditionalCategory) "RasterGraphics"; + public static DotnetPackagingAdditionalCategory ThreeDGraphics = (DotnetPackagingAdditionalCategory) "ThreeDGraphics"; + public static DotnetPackagingAdditionalCategory Scanning = (DotnetPackagingAdditionalCategory) "Scanning"; + public static DotnetPackagingAdditionalCategory OCR = (DotnetPackagingAdditionalCategory) "OCR"; + public static DotnetPackagingAdditionalCategory Photography = (DotnetPackagingAdditionalCategory) "Photography"; + public static DotnetPackagingAdditionalCategory Publishing = (DotnetPackagingAdditionalCategory) "Publishing"; + public static DotnetPackagingAdditionalCategory Viewer = (DotnetPackagingAdditionalCategory) "Viewer"; + public static DotnetPackagingAdditionalCategory TextTools = (DotnetPackagingAdditionalCategory) "TextTools"; + public static DotnetPackagingAdditionalCategory DesktopSettings = (DotnetPackagingAdditionalCategory) "DesktopSettings"; + public static DotnetPackagingAdditionalCategory HardwareSettings = (DotnetPackagingAdditionalCategory) "HardwareSettings"; + public static DotnetPackagingAdditionalCategory Printing = (DotnetPackagingAdditionalCategory) "Printing"; + public static DotnetPackagingAdditionalCategory PackageManager = (DotnetPackagingAdditionalCategory) "PackageManager"; + public static DotnetPackagingAdditionalCategory Dialup = (DotnetPackagingAdditionalCategory) "Dialup"; + public static DotnetPackagingAdditionalCategory InstantMessaging = (DotnetPackagingAdditionalCategory) "InstantMessaging"; + public static DotnetPackagingAdditionalCategory Chat = (DotnetPackagingAdditionalCategory) "Chat"; + public static DotnetPackagingAdditionalCategory IRCClient = (DotnetPackagingAdditionalCategory) "IRCClient"; + public static DotnetPackagingAdditionalCategory FileTransfer = (DotnetPackagingAdditionalCategory) "FileTransfer"; + public static DotnetPackagingAdditionalCategory HamRadio = (DotnetPackagingAdditionalCategory) "HamRadio"; + public static DotnetPackagingAdditionalCategory News = (DotnetPackagingAdditionalCategory) "News"; + public static DotnetPackagingAdditionalCategory P2P = (DotnetPackagingAdditionalCategory) "P2P"; + public static DotnetPackagingAdditionalCategory RemoteAccess = (DotnetPackagingAdditionalCategory) "RemoteAccess"; + public static DotnetPackagingAdditionalCategory Telephony = (DotnetPackagingAdditionalCategory) "Telephony"; + public static DotnetPackagingAdditionalCategory TelephonyTools = (DotnetPackagingAdditionalCategory) "TelephonyTools"; + public static DotnetPackagingAdditionalCategory VideoConference = (DotnetPackagingAdditionalCategory) "VideoConference"; + public static DotnetPackagingAdditionalCategory WebBrowser = (DotnetPackagingAdditionalCategory) "WebBrowser"; + public static DotnetPackagingAdditionalCategory WebDevelopment = (DotnetPackagingAdditionalCategory) "WebDevelopment"; + public static DotnetPackagingAdditionalCategory Midi = (DotnetPackagingAdditionalCategory) "Midi"; + public static DotnetPackagingAdditionalCategory Mixer = (DotnetPackagingAdditionalCategory) "Mixer"; + public static DotnetPackagingAdditionalCategory Sequencer = (DotnetPackagingAdditionalCategory) "Sequencer"; + public static DotnetPackagingAdditionalCategory Tuner = (DotnetPackagingAdditionalCategory) "Tuner"; + public static DotnetPackagingAdditionalCategory TV = (DotnetPackagingAdditionalCategory) "TV"; + public static DotnetPackagingAdditionalCategory AudioVideoEditing = (DotnetPackagingAdditionalCategory) "AudioVideoEditing"; + public static DotnetPackagingAdditionalCategory Player = (DotnetPackagingAdditionalCategory) "Player"; + public static DotnetPackagingAdditionalCategory Recorder = (DotnetPackagingAdditionalCategory) "Recorder"; + public static DotnetPackagingAdditionalCategory DiscBurning = (DotnetPackagingAdditionalCategory) "DiscBurning"; + public static DotnetPackagingAdditionalCategory ActionGame = (DotnetPackagingAdditionalCategory) "ActionGame"; + public static DotnetPackagingAdditionalCategory AdventureGame = (DotnetPackagingAdditionalCategory) "AdventureGame"; + public static DotnetPackagingAdditionalCategory ArcadeGame = (DotnetPackagingAdditionalCategory) "ArcadeGame"; + public static DotnetPackagingAdditionalCategory BoardGame = (DotnetPackagingAdditionalCategory) "BoardGame"; + public static DotnetPackagingAdditionalCategory BlocksGame = (DotnetPackagingAdditionalCategory) "BlocksGame"; + public static DotnetPackagingAdditionalCategory CardGame = (DotnetPackagingAdditionalCategory) "CardGame"; + public static DotnetPackagingAdditionalCategory KidsGame = (DotnetPackagingAdditionalCategory) "KidsGame"; + public static DotnetPackagingAdditionalCategory LogicGame = (DotnetPackagingAdditionalCategory) "LogicGame"; + public static DotnetPackagingAdditionalCategory RolePlaying = (DotnetPackagingAdditionalCategory) "RolePlaying"; + public static DotnetPackagingAdditionalCategory Simulation = (DotnetPackagingAdditionalCategory) "Simulation"; + public static DotnetPackagingAdditionalCategory SportsGame = (DotnetPackagingAdditionalCategory) "SportsGame"; + public static DotnetPackagingAdditionalCategory StrategyGame = (DotnetPackagingAdditionalCategory) "StrategyGame"; + public static DotnetPackagingAdditionalCategory Art = (DotnetPackagingAdditionalCategory) "Art"; + public static DotnetPackagingAdditionalCategory Construction = (DotnetPackagingAdditionalCategory) "Construction"; + public static DotnetPackagingAdditionalCategory Music = (DotnetPackagingAdditionalCategory) "Music"; + public static DotnetPackagingAdditionalCategory Languages = (DotnetPackagingAdditionalCategory) "Languages"; + public static DotnetPackagingAdditionalCategory Science = (DotnetPackagingAdditionalCategory) "Science"; + public static DotnetPackagingAdditionalCategory ArtificialIntelligence = (DotnetPackagingAdditionalCategory) "ArtificialIntelligence"; + public static DotnetPackagingAdditionalCategory Astronomy = (DotnetPackagingAdditionalCategory) "Astronomy"; + public static DotnetPackagingAdditionalCategory Biology = (DotnetPackagingAdditionalCategory) "Biology"; + public static DotnetPackagingAdditionalCategory Chemistry = (DotnetPackagingAdditionalCategory) "Chemistry"; + public static DotnetPackagingAdditionalCategory ComputerScience = (DotnetPackagingAdditionalCategory) "ComputerScience"; + public static DotnetPackagingAdditionalCategory DataVisualization = (DotnetPackagingAdditionalCategory) "DataVisualization"; + public static DotnetPackagingAdditionalCategory Economy = (DotnetPackagingAdditionalCategory) "Economy"; + public static DotnetPackagingAdditionalCategory Electricity = (DotnetPackagingAdditionalCategory) "Electricity"; + public static DotnetPackagingAdditionalCategory Geography = (DotnetPackagingAdditionalCategory) "Geography"; + public static DotnetPackagingAdditionalCategory Geology = (DotnetPackagingAdditionalCategory) "Geology"; + public static DotnetPackagingAdditionalCategory Geoscience = (DotnetPackagingAdditionalCategory) "Geoscience"; + public static DotnetPackagingAdditionalCategory History = (DotnetPackagingAdditionalCategory) "History"; + public static DotnetPackagingAdditionalCategory ImageProcessing = (DotnetPackagingAdditionalCategory) "ImageProcessing"; + public static DotnetPackagingAdditionalCategory Literature = (DotnetPackagingAdditionalCategory) "Literature"; + public static DotnetPackagingAdditionalCategory Math = (DotnetPackagingAdditionalCategory) "Math"; + public static DotnetPackagingAdditionalCategory NumericalAnalysis = (DotnetPackagingAdditionalCategory) "NumericalAnalysis"; + public static DotnetPackagingAdditionalCategory MedicalSoftware = (DotnetPackagingAdditionalCategory) "MedicalSoftware"; + public static DotnetPackagingAdditionalCategory Physics = (DotnetPackagingAdditionalCategory) "Physics"; + public static DotnetPackagingAdditionalCategory Robotics = (DotnetPackagingAdditionalCategory) "Robotics"; + public static DotnetPackagingAdditionalCategory Sports = (DotnetPackagingAdditionalCategory) "Sports"; + public static DotnetPackagingAdditionalCategory ParallelComputing = (DotnetPackagingAdditionalCategory) "ParallelComputing"; + public static DotnetPackagingAdditionalCategory Amusement = (DotnetPackagingAdditionalCategory) "Amusement"; + public static DotnetPackagingAdditionalCategory Archiving = (DotnetPackagingAdditionalCategory) "Archiving"; + public static DotnetPackagingAdditionalCategory Compression = (DotnetPackagingAdditionalCategory) "Compression"; + public static DotnetPackagingAdditionalCategory Electronics = (DotnetPackagingAdditionalCategory) "Electronics"; + public static DotnetPackagingAdditionalCategory Emulator = (DotnetPackagingAdditionalCategory) "Emulator"; + public static DotnetPackagingAdditionalCategory Engineering = (DotnetPackagingAdditionalCategory) "Engineering"; + public static DotnetPackagingAdditionalCategory FileTools = (DotnetPackagingAdditionalCategory) "FileTools"; + public static DotnetPackagingAdditionalCategory FileManager = (DotnetPackagingAdditionalCategory) "FileManager"; + public static DotnetPackagingAdditionalCategory TerminalEmulator = (DotnetPackagingAdditionalCategory) "TerminalEmulator"; + public static DotnetPackagingAdditionalCategory Filesystem = (DotnetPackagingAdditionalCategory) "Filesystem"; + public static DotnetPackagingAdditionalCategory Monitor = (DotnetPackagingAdditionalCategory) "Monitor"; + public static DotnetPackagingAdditionalCategory Security = (DotnetPackagingAdditionalCategory) "Security"; + public static DotnetPackagingAdditionalCategory Accessibility = (DotnetPackagingAdditionalCategory) "Accessibility"; + public static DotnetPackagingAdditionalCategory Calculator = (DotnetPackagingAdditionalCategory) "Calculator"; + public static DotnetPackagingAdditionalCategory Clock = (DotnetPackagingAdditionalCategory) "Clock"; + public static DotnetPackagingAdditionalCategory TextEditor = (DotnetPackagingAdditionalCategory) "TextEditor"; + public static DotnetPackagingAdditionalCategory Documentation = (DotnetPackagingAdditionalCategory) "Documentation"; + public static DotnetPackagingAdditionalCategory Core = (DotnetPackagingAdditionalCategory) "Core"; + public static DotnetPackagingAdditionalCategory KDE = (DotnetPackagingAdditionalCategory) "KDE"; + public static DotnetPackagingAdditionalCategory GNOME = (DotnetPackagingAdditionalCategory) "GNOME"; + public static DotnetPackagingAdditionalCategory GTK = (DotnetPackagingAdditionalCategory) "GTK"; + public static DotnetPackagingAdditionalCategory Qt = (DotnetPackagingAdditionalCategory) "Qt"; + public static DotnetPackagingAdditionalCategory Motif = (DotnetPackagingAdditionalCategory) "Motif"; + public static DotnetPackagingAdditionalCategory Java = (DotnetPackagingAdditionalCategory) "Java"; + public static DotnetPackagingAdditionalCategory ConsoleOnly = (DotnetPackagingAdditionalCategory) "ConsoleOnly"; + public static implicit operator DotnetPackagingAdditionalCategory(string value) + { + return new DotnetPackagingAdditionalCategory { Value = value }; + } +} +#endregion diff --git a/source/Nuke.Common/Tools/EntityFramework/EntityFramework.Generated.cs b/source/Nuke.Common/Tools/EntityFramework/EntityFramework.Generated.cs index 4e7504f0f..930b98249 100644 --- a/source/Nuke.Common/Tools/EntityFramework/EntityFramework.Generated.cs +++ b/source/Nuke.Common/Tools/EntityFramework/EntityFramework.Generated.cs @@ -23,17 +23,17 @@ namespace Nuke.Common.Tools.EntityFramework; ///
    [PublicAPI] [ExcludeFromCodeCoverage] -[PathToolRequirement(EntityFrameworkPathExecutable)] +[NuGetPackageRequirement(EntityFrameworkPackageId)] public partial class EntityFrameworkTasks - : IRequirePathTool + : IRequireNuGetPackage { - public const string EntityFrameworkPathExecutable = "dotnet"; + public const string EntityFrameworkPackageId = "dotnet-ef"; /// /// Path to the EntityFramework executable. /// public static string EntityFrameworkPath => ToolPathResolver.TryGetEnvironmentExecutable("ENTITYFRAMEWORK_EXE") ?? - ToolPathResolver.GetPathExecutable("dotnet"); + GetToolPath(); public static Action EntityFrameworkLogger { get; set; } = ProcessTasks.DefaultLogger; public static Action EntityFrameworkExitHandler { get; set; } = ProcessTasks.DefaultExitHandler; /// @@ -978,12 +978,12 @@ public static IReadOnlyCollection EntityFrameworkMigrationsScript(Config [PublicAPI] [ExcludeFromCodeCoverage] [Serializable] -public partial class EntityFrameworkDatabaseDropSettings : ToolSettings +public partial class EntityFrameworkDatabaseDropSettings : EntityFrameworkSettings { /// /// Path to the EntityFramework executable. /// - public override string ProcessToolPath => base.ProcessToolPath ?? EntityFrameworkTasks.EntityFrameworkPath; + public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); public override Action ProcessLogger => base.ProcessLogger ?? EntityFrameworkTasks.EntityFrameworkLogger; public override Action ProcessExitHandler => base.ProcessExitHandler ?? EntityFrameworkTasks.EntityFrameworkExitHandler; /// @@ -1066,12 +1066,12 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) [PublicAPI] [ExcludeFromCodeCoverage] [Serializable] -public partial class EntityFrameworkDatabaseUpdateSettings : ToolSettings +public partial class EntityFrameworkDatabaseUpdateSettings : EntityFrameworkSettings { /// /// Path to the EntityFramework executable. /// - public override string ProcessToolPath => base.ProcessToolPath ?? EntityFrameworkTasks.EntityFrameworkPath; + public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); public override Action ProcessLogger => base.ProcessLogger ?? EntityFrameworkTasks.EntityFrameworkLogger; public override Action ProcessExitHandler => base.ProcessExitHandler ?? EntityFrameworkTasks.EntityFrameworkExitHandler; /// @@ -1154,12 +1154,12 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) [PublicAPI] [ExcludeFromCodeCoverage] [Serializable] -public partial class EntityFrameworkDbContextInfoSettings : ToolSettings +public partial class EntityFrameworkDbContextInfoSettings : EntityFrameworkSettings { /// /// Path to the EntityFramework executable. /// - public override string ProcessToolPath => base.ProcessToolPath ?? EntityFrameworkTasks.EntityFrameworkPath; + public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); public override Action ProcessLogger => base.ProcessLogger ?? EntityFrameworkTasks.EntityFrameworkLogger; public override Action ProcessExitHandler => base.ProcessExitHandler ?? EntityFrameworkTasks.EntityFrameworkExitHandler; /// @@ -1232,12 +1232,12 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) [PublicAPI] [ExcludeFromCodeCoverage] [Serializable] -public partial class EntityFrameworkDbContextListSettings : ToolSettings +public partial class EntityFrameworkDbContextListSettings : EntityFrameworkSettings { /// /// Path to the EntityFramework executable. /// - public override string ProcessToolPath => base.ProcessToolPath ?? EntityFrameworkTasks.EntityFrameworkPath; + public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); public override Action ProcessLogger => base.ProcessLogger ?? EntityFrameworkTasks.EntityFrameworkLogger; public override Action ProcessExitHandler => base.ProcessExitHandler ?? EntityFrameworkTasks.EntityFrameworkExitHandler; /// @@ -1310,12 +1310,12 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) [PublicAPI] [ExcludeFromCodeCoverage] [Serializable] -public partial class EntityFrameworkDbContextScaffoldSettings : ToolSettings +public partial class EntityFrameworkDbContextScaffoldSettings : EntityFrameworkSettings { /// /// Path to the EntityFramework executable. /// - public override string ProcessToolPath => base.ProcessToolPath ?? EntityFrameworkTasks.EntityFrameworkPath; + public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); public override Action ProcessLogger => base.ProcessLogger ?? EntityFrameworkTasks.EntityFrameworkLogger; public override Action ProcessExitHandler => base.ProcessExitHandler ?? EntityFrameworkTasks.EntityFrameworkExitHandler; /// @@ -1455,12 +1455,12 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) [PublicAPI] [ExcludeFromCodeCoverage] [Serializable] -public partial class EntityFrameworkDbContextScriptSettings : ToolSettings +public partial class EntityFrameworkDbContextScriptSettings : EntityFrameworkSettings { /// /// Path to the EntityFramework executable. /// - public override string ProcessToolPath => base.ProcessToolPath ?? EntityFrameworkTasks.EntityFrameworkPath; + public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); public override Action ProcessLogger => base.ProcessLogger ?? EntityFrameworkTasks.EntityFrameworkLogger; public override Action ProcessExitHandler => base.ProcessExitHandler ?? EntityFrameworkTasks.EntityFrameworkExitHandler; /// @@ -1538,12 +1538,12 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) [PublicAPI] [ExcludeFromCodeCoverage] [Serializable] -public partial class EntityFrameworkMigrationsAddSettings : ToolSettings +public partial class EntityFrameworkMigrationsAddSettings : EntityFrameworkSettings { /// /// Path to the EntityFramework executable. /// - public override string ProcessToolPath => base.ProcessToolPath ?? EntityFrameworkTasks.EntityFrameworkPath; + public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); public override Action ProcessLogger => base.ProcessLogger ?? EntityFrameworkTasks.EntityFrameworkLogger; public override Action ProcessExitHandler => base.ProcessExitHandler ?? EntityFrameworkTasks.EntityFrameworkExitHandler; /// @@ -1631,12 +1631,12 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) [PublicAPI] [ExcludeFromCodeCoverage] [Serializable] -public partial class EntityFrameworkMigrationsListSettings : ToolSettings +public partial class EntityFrameworkMigrationsListSettings : EntityFrameworkSettings { /// /// Path to the EntityFramework executable. /// - public override string ProcessToolPath => base.ProcessToolPath ?? EntityFrameworkTasks.EntityFrameworkPath; + public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); public override Action ProcessLogger => base.ProcessLogger ?? EntityFrameworkTasks.EntityFrameworkLogger; public override Action ProcessExitHandler => base.ProcessExitHandler ?? EntityFrameworkTasks.EntityFrameworkExitHandler; /// @@ -1719,12 +1719,12 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) [PublicAPI] [ExcludeFromCodeCoverage] [Serializable] -public partial class EntityFrameworkMigrationsRemoveSettings : ToolSettings +public partial class EntityFrameworkMigrationsRemoveSettings : EntityFrameworkSettings { /// /// Path to the EntityFramework executable. /// - public override string ProcessToolPath => base.ProcessToolPath ?? EntityFrameworkTasks.EntityFrameworkPath; + public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); public override Action ProcessLogger => base.ProcessLogger ?? EntityFrameworkTasks.EntityFrameworkLogger; public override Action ProcessExitHandler => base.ProcessExitHandler ?? EntityFrameworkTasks.EntityFrameworkExitHandler; /// @@ -1802,12 +1802,12 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) [PublicAPI] [ExcludeFromCodeCoverage] [Serializable] -public partial class EntityFrameworkMigrationsBundleSettings : ToolSettings +public partial class EntityFrameworkMigrationsBundleSettings : EntityFrameworkSettings { /// /// Path to the EntityFramework executable. /// - public override string ProcessToolPath => base.ProcessToolPath ?? EntityFrameworkTasks.EntityFrameworkPath; + public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); public override Action ProcessLogger => base.ProcessLogger ?? EntityFrameworkTasks.EntityFrameworkLogger; public override Action ProcessExitHandler => base.ProcessExitHandler ?? EntityFrameworkTasks.EntityFrameworkExitHandler; /// @@ -1900,12 +1900,12 @@ protected override Arguments ConfigureProcessArguments(Arguments arguments) [PublicAPI] [ExcludeFromCodeCoverage] [Serializable] -public partial class EntityFrameworkMigrationsScriptSettings : ToolSettings +public partial class EntityFrameworkMigrationsScriptSettings : EntityFrameworkSettings { /// /// Path to the EntityFramework executable. /// - public override string ProcessToolPath => base.ProcessToolPath ?? EntityFrameworkTasks.EntityFrameworkPath; + public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); public override Action ProcessLogger => base.ProcessLogger ?? EntityFrameworkTasks.EntityFrameworkLogger; public override Action ProcessExitHandler => base.ProcessExitHandler ?? EntityFrameworkTasks.EntityFrameworkExitHandler; ///