DotNetSettingsExtensions Class
Definition
Extension methods for .NET settings.
public static class DotNetSettingsExtensionsInheritance object
Methods
SetFramework(DotNetPackSettings, string)
Sets the target framework to pack.
public static DotNetPackSettings SetFramework(this DotNetPackSettings s, string framework)Parameters
s Nuke.Common.Tools.DotNet.DotNetPackSettings
The settings to modify.
framework string
The framework name.
Returns
Nuke.Common.Tools.DotNet.DotNetPackSettings
The modified settings.
SetPlatform(DotNetTestSettings, string)
Sets the platform to test.
public static DotNetTestSettings SetPlatform(this DotNetTestSettings s, string platform)Parameters
s Nuke.Common.Tools.DotNet.DotNetTestSettings
The settings to modify.
platform string
The platform name.
Returns
Nuke.Common.Tools.DotNet.DotNetTestSettings
The modified settings.