Table of Contents

Class ContentImporterContext

Namespace
Microsoft.Xna.Framework.Content.Pipeline
Assembly
MonoGame.Framework.Content.Pipeline.dll

Provides properties that define logging behavior for the importer.

public abstract class ContentImporterContext
Inheritance
ContentImporterContext
Derived
Inherited Members

Properties

IntermediateDirectory

The absolute path to the root of the build intermediate (object) directory.

public abstract string IntermediateDirectory { get; }

Property Value

string

Logger

Gets the logger for an importer.

public abstract ContentBuildLogger Logger { get; }

Property Value

ContentBuildLogger

OutputDirectory

The absolute path to the root of the build output (binaries) directory.

public abstract string OutputDirectory { get; }

Property Value

string

Methods

AddDependency(string)

Adds a dependency to the specified file. This causes a rebuild of the file, when modified, on subsequent incremental builds.

public abstract void AddDependency(string filename)

Parameters

filename string

Name of an asset file.