TargetPlatform Enumeration

Note

This enumeration is available only when developing for Windows.

Defines the target platform to be used when compiling content.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public enum TargetPlatform

Members

  Member name Description
Unknown Represents an unknown platform.
Windows The Windows platform.
Xbox360 The Xbox 360 game console.

See Also

Reference

BuildContent.TargetPlatform Property
BuildXact.TargetPlatform Property
ContentProcessorContext.TargetPlatform Property
ContentWriter.TargetPlatform Property
ContentTypeWriter.GetRuntimeType Method
ContentTypeWriter.GetRuntimeReader Method
Effect.CompileEffectFromFile Method
ShaderCompiler.AssembleFromFile Method
ShaderCompiler.CompileFromFile Method
ShaderCompiler.CompileFromSource Method
Microsoft.Xna.Framework Namespace

Programming Guide

How to: Write a Custom Importer and Processor

Platforms

Windows XP SP2, Windows Vista