BuildContent.TargetPlatform Property

Note

This property is available only when developing for Windows.

Gets or sets the content build target platform.

This should be one of the values of the TargetPlatform Enumeration enumeration.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Tasks
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

[RequiredAttribute]
public string TargetPlatform { get; set; }

Property Value

Target of the content build. For a list of possible values, see TargetPlatform Enumeration.

See Also

Reference

BuildContent Class
BuildContent Members
Microsoft.Xna.Framework.Content.Pipeline.Tasks Namespace

Platforms

Windows 7, Windows Vista, Windows XP