Microsoft.Build.Exceptions Namespace
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Contains exception types that may be thrown during the build process.
Class | Description | |
---|---|---|
![]() | 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. |
![]() | 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. |