InvalidToolsetDefinitionException Class
This exception is thrown whenever there is a problem with the user's custom toolset definition file. The problem might be semantic or syntactical. If the problem is in the syntax, it can typically be caught by XSD validation.
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.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException
Namespace: Microsoft.Build.BuildEngine
Assembly: Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class InvalidToolsetDefinitionException _
Inherits Exception
[SerializableAttribute]
public class InvalidToolsetDefinitionException : Exception
[SerializableAttribute]
public ref class InvalidToolsetDefinitionException : public Exception
[<SerializableAttribute>]
type InvalidToolsetDefinitionException =
class
inherit Exception
end
public class InvalidToolsetDefinitionException extends Exception
The InvalidToolsetDefinitionException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InvalidToolsetDefinitionException() | Initializes a new instance of the InvalidToolsetDefinitionException class.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. | |
InvalidToolsetDefinitionException(String) | Initializes a new instance of the InvalidToolsetDefinitionException class.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. | |
InvalidToolsetDefinitionException(SerializationInfo, StreamingContext) | Initializes a new instance of the InvalidToolsetDefinitionException class.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. | |
InvalidToolsetDefinitionException(String, Exception) | Initializes a new instance of the InvalidToolsetDefinitionException class.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. | |
InvalidToolsetDefinitionException(String, String) | Initializes a new instance of the InvalidToolsetDefinitionException class.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. | |
InvalidToolsetDefinitionException(String, String, Exception) | Initializes a new instance of the InvalidToolsetDefinitionException class.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
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
ErrorCode | Gets the exception error code that was thrown.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. | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Sets the SerializationInfo with information about the exception.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 Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Top
Events
Name | Description | |
---|---|---|
SerializeObjectState | (Inherited from Exception.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.