视觉工作室自动化EnvDTE [英] visual studio automation EnvDTE

查看:72
本文介绍了视觉工作室自动化EnvDTE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi 
$
社区成员,请为我提供外部VBA自动化Visual Studio(EnvDTE)的代码源: 


启动视觉工作室 


打开解决方案 


打开一个项目 


编译项目并运行它  ;


问候 


yosri.bensalah@outlook.fr

解决方案

请参阅:


HOWTO:从IDE外部自动化Visual Studio .NET。

http://www.visualstudioextensibility.com/articles/add-ins/


获得DTE实例后,使用
DTE.Solution
调用它的Open和Close方法,或者调用Solution.SolutionBuild对象来调用
SolutionBuild.Build


hi 
community members please who can provide me a code source for automating visual studio ( EnvDTE) from external VBA : 

starting visual studio 

open a solution 

open a project 

compile project and run it 

regards 

yosri.bensalah@outlook.fr

解决方案

See:

HOWTO: Automating Visual Studio .NET from outside the IDE.
http://www.visualstudioextensibility.com/articles/add-ins/

Once you have the DTE instance, use the DTE.Solution to call its Open and Close methods, or the Solution.SolutionBuild object to call SolutionBuild.Build.


这篇关于视觉工作室自动化EnvDTE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆