IAnalyzerHostObject Interface

Defines an interface for the Vbc/Csc tasks to communicate information about analyzers and rulesets to the IDE.

Namespace:  Microsoft.Build.Tasks.Hosting
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<ComVisibleAttribute(True)> _
<GuidAttribute("B5A95716-2053-4B70-9FBF-E4148EBA96BC")> _
Public Interface IAnalyzerHostObject
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
[GuidAttribute("B5A95716-2053-4B70-9FBF-E4148EBA96BC")]
public interface IAnalyzerHostObject
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
[GuidAttribute(L"B5A95716-2053-4B70-9FBF-E4148EBA96BC")]
public interface class IAnalyzerHostObject
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("B5A95716-2053-4B70-9FBF-E4148EBA96BC")>]
type IAnalyzerHostObject =  interface end
public interface IAnalyzerHostObject

The IAnalyzerHostObject type exposes the following members.

Methods

  Name Description
Public method SetAdditionalFiles Sets additional files.
Public method SetAnalyzers Sets the specified analyzers.
Public method SetRuleSet Sets the rule set.

Top

Remarks

Introduced in Visual Studio 2015.

See Also

Reference

Microsoft.Build.Tasks.Hosting Namespace