Skip to main content

Framework

This page was generated

Contributions are welcome in Psake-repo.

SYNOPSIS

Sets the version of the .NET framework you want to use during build.

SYNTAX

__AllParameterSets

Framework [-Framework] <string> [<CommonParameters>]

DESCRIPTION

Overrides the psake default framework, determining which MSBuild and runtime directories are used by all tasks in the build.

EXAMPLES

EXAMPLE 1

Framework "4.0"
Task default -depends Compile
Task Compile -depends Clean {
msbuild /version
}

Uses MSBuild v4.0 for the build.

PARAMETERS

-Framework

Framework version string. Append 'x86' or 'x64' to force bitness; otherwise bitness matches the current PowerShell process. Supported values: '1.0', '1.1', '2.0', '2.0x86', '2.0x64', '3.0', '3.0x86', '3.0x64', '3.5', '3.5x86', '3.5x64', '4.0', '4.0x86', '4.0x64', '4.5', '4.5x86', '4.5x64', '4.5.1', '4.5.1x86', '4.5.1x64'. Default is '3.5*' (bitness auto-detected).

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

VERSION

This page was generated using comment-based help in Psake 5.0.4.