Megosztás a következőn keresztül:


FileLogger.Initialize Method

Include Protected Members
Include Inherited Members

Initializes a file logger for a given build event or in a multiprocessor environment.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Initialize(IEventSource) Signs up the console file logger for the given build events. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Overrides ConsoleLogger.Initialize(IEventSource).)
Public method Initialize(IEventSource, Int32) Initializes a file logger in a multiprocessor environment.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Overrides ConsoleLogger.Initialize(IEventSource, Int32).)

Top

See Also

Reference

FileLogger Class

Microsoft.Build.Logging Namespace