Class DotNetSettingsExtensions
Extension methods for .NET settings.
Inherited Members
Namespace: Microsoft.XboxStudios.NukeExt
Assembly: NukeExt.Components.dll
Syntax
public static class DotNetSettingsExtensions
Methods
View SourceSetFramework(DotNetPackSettings, string)
Sets the target framework to pack.
Declaration
public static DotNetPackSettings SetFramework(this DotNetPackSettings s, string framework)
Parameters
| Type | Name | Description |
|---|---|---|
| DotNetPackSettings | s | The settings to modify. |
| string | framework | The framework name. |
Returns
| Type | Description |
|---|---|
| DotNetPackSettings | The modified settings. |
SetPlatform(DotNetTestSettings, string)
Sets the platform to test.
Declaration
public static DotNetTestSettings SetPlatform(this DotNetTestSettings s, string platform)
Parameters
| Type | Name | Description |
|---|---|---|
| DotNetTestSettings | s | The settings to modify. |
| string | platform | The platform name. |
Returns
| Type | Description |
|---|---|
| DotNetTestSettings | The modified settings. |