Share via


ProjectInstance.Build Method

Include Protected Members
Include Inherited Members

Builds the default targets of the project with loggers of the project collection.

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 Build() Builds the default targets of the project with loggers of the project collection. 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.
Public method Build(IEnumerable<ILogger>) Builds the default targets of the project with the given loggers. 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.
Public method Build(String, IEnumerable<ILogger>) Builds the given target of the project with the given loggers. 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.
Public method Build(array<String[], IEnumerable<ILogger>) Builds the given targets of the project with the given loggers. 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.
Public method Build(IEnumerable<ILogger>, IEnumerable<ForwardingLoggerRecord>) Builds the default targets of the project with the given loggers and remote loggers. 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.
Public method Build(String, IEnumerable<ILogger>, IEnumerable<ForwardingLoggerRecord>) Builds the given target of the project with the given loggers and remote loggers. 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.
Public method Build(array<String[], IEnumerable<ILogger>, IDictionary<String, TargetResult>%) Build a list of targets with specified loggers. Targets may be null. Loggers may be null.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.
Public method Build(array<String[], IEnumerable<ILogger>, IEnumerable<ForwardingLoggerRecord>) Builds the given targets of the project with the given loggers and remote loggers. 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.
Public method Build(array<String[], IEnumerable<ILogger>, IEnumerable<ForwardingLoggerRecord>, IDictionary<String, TargetResult>%) Builds the given targets with the given target outputs and with the given loggers and remote loggers. 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.

Top

See Also

Reference

ProjectInstance Class

Microsoft.Build.Execution Namespace