Interfaces


Visual Studio SDK
IVsSingleFileGenerator Interface

Transforms a single input file into a single output file that can be compiled or added to a project. Any COM component that implements the IVsSingleFileGenerator is a custom tool.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

Syntax

Visual Basic (Declaration)
<GuidAttribute("3634494C-492F-4F91-8009-4541234E4E99")> _
<InterfaceTypeAttribute(1)> _
Public Interface IVsSingleFileGenerator
Visual Basic (Usage)
Dim instance As IVsSingleFileGenerator
C#
[GuidAttribute("3634494C-492F-4F91-8009-4541234E4E99")] 
[InterfaceTypeAttribute(1)] 
public interface IVsSingleFileGenerator
C++
[GuidAttribute(L"3634494C-492F-4F91-8009-4541234E4E99")] 
[InterfaceTypeAttribute(1)] 
public interface class IVsSingleFileGenerator
J#
/** @attribute GuidAttribute("3634494C-492F-4F91-8009-4541234E4E99") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsSingleFileGenerator
JScript
GuidAttribute("3634494C-492F-4F91-8009-4541234E4E99") 
InterfaceTypeAttribute(1) 
public interface IVsSingleFileGenerator
Remarks

Any custom tool that is a COM component must implement the IVsSingleFileGenerator interface.

Notes to Implementers The IVsSingleFileGenerator interface is invoked under the following circumstances:

NoteNote

You assign a custom tool to an input file in Visual Studio by setting the CustomTool property in the Properties window of the Visual Basic or Visual C# file selected in Solution Explorer. The component must already be registered as a custom tool before it can be assigned to an input file.

  • The user changes the CustomToolNamespace property of a file.

  • The input file to the custom tool is saved.

  • The extensibility method RunCustomTool is invoked on a VSProjectItem.

See Also

Tags :


Page view tracker