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:
Note: |
|---|
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.