ContentImporterContext.AddDependency Method (Microsoft.Xna.Framework.Content.Pipeline)
Adds a dependency to the specified file. This causes a rebuild of the file, when modified, on subsequent incremental builds.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public abstract void AddDependency( string filename )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- filename
-
Type: System.String
Name of an asset file.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop