TargetPlatformVersion Property

TFS Build Extensions

Collapse imageExpand ImageCopy imageCopyHover image
This method sets the .NET Framework for the target assembly to be the one specified by platform. Valid strings for the first argument are "v1", "v1.1", "v2", and "v4".

The "v" is case insensitive and is also optional. This way ILMerge can be used to "cross-compile", i.e., it can run in one version of the framework and generate

the target assembly so it will run under a different assembly. The second argument is the directory in which mscorlib.dll is to be found.

Command line option: /targetplatform:version,platformdirectory

Default: null

Namespace: TfsBuildExtensions.Activities.Framework
Assembly: TfsBuildExtensions.Activities.ILMerge (in TfsBuildExtensions.Activities.ILMerge.dll) Version: 1.0.0.0 (1.0.0.6)

See Also