Compartir a través de


Microsoft.Build.Exceptions Namespace

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

Classes

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.

CircularDependencyException

An exception representing the case where a BuildRequest has caused a circular project dependency. This is used to terminate the request builder which initiated the failure path.

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.

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).

InvalidToolsetDefinitionException

Exception subclass that ToolsetReaders should throw.