Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

Microsoft.Build.Exceptions Namespace

Contains exception types that may be thrown during the build process.

  Class Description
Public class BuildAbortedException An exception representing the case where the build was aborted by request, as opposed to being unceremoniously shut down due to another kind of error exception.
Public class InternalLoggerException This exception is used to wrap an unhandled exception from a logger. This exception aborts the build, and it can only be thrown by the MSBuild engine.
Public class InvalidProjectFileException This exception is thrown whenever there is a problem with the user's XML project file. The problem might be semantic or syntactical. The latter would be of a type typically caught by XSD validation (if it was performed by the project writer).
Public class InvalidToolsetDefinitionException Exception subclass that ToolsetReaders should throw.
© 2015 Microsoft