IVstaHelper 接口

定义

定义了在 Visual Studio 应用程序工具(VSTA)上实现的接口,用于构建脚本任务项目。

public interface class IVstaHelper
public interface IVstaHelper
type IVstaHelper = interface
Public Interface IVstaHelper

属性

名称 说明
SupportDebug

获取或设置一个值,指示是否支持调试。

TemplateFilePrefix

定义了在 Visual Studio 应用程序工具(VSTA)上实现的接口,用于构建脚本任务项目。

方法

名称 说明
AddFileToProject(String, String)

向项目添加一个文件。

Build(String)

负责为项目组装。

CleanUp()

清理上一次构建进程使用的数据缓存。

GetAssemblyBytes(String)

获取构建过程中生成的汇编字节。

GetBuildErrors(String)

会出现构建错误。

Initalize(String, Boolean)

根据应用的配置,用默认代码和设置初始化项目。

LoadNewProject(String, String, String)

加载一个新项目。

LoadProjectFromFolder(String)

从指定的文件夹加载已有项目。

LoadProjectFromStorage(VSTAScriptProjectStorage)

从指定的存储加载已有项目。

LoadVSAProject(VSTAScriptProjectStorage, String, IEnumerable<String>, IEnumerable<String>)

从指定的项目文件加载项目。

LoadVSTA2Project(VSTAScriptProjectStorage, IEnumerable<String>, IEnumerable<String>)

从指定的项目文件升级并加载项目。

SaveProjectToStorage(VSTAScriptProjectStorage)

将项目保存到指定的存储中。

ShowIde(String)

在集成开发环境(IDE)中启动项目。

StartDebugging()

启动项目调试。

StopDebugging()

这样项目就停止调试了。

WaitForDebuggerAttached()

定义了在 Visual Studio 应用程序工具(VSTA)上实现的接口,用于构建脚本任务项目。

适用于