BuildContent.LoggerRootDirectory Property
Note
This property is available only when developing for Windows.
Gets or sets the base reference path used when reporting errors during the content build process.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Tasks
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public string LoggerRootDirectory { get; set; }
Property Value
Current name of the base directory or the value to be set.
Remarks
When building XNA content, all errors are displayed in the Error List Window of Visual Studio. Along with the data that triggered the error, the Error List displays the path and filename where the offending data was encountered.
By default, the path of the offending file that is reported in the Error List is always expressed as relative to the location of the project file that references it.
When set, the LoggerRootDirectory property specifies an explicit base path for error reporting that overrides the default operation. All offending files reported in the Error List will be expressed as relative to the base path set in LoggerRootDirectory.
See Also
Reference
BuildContent Class
BuildContent Members
Microsoft.Xna.Framework.Content.Pipeline.Tasks Namespace
Platforms
Windows 7, Windows Vista, Windows XP