DTE和VS Express Editions [英] DTE and VS Express Editions

查看:123
本文介绍了DTE和VS Express Editions的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家早上好。
有没有办法在Express环境中运行以下代码(或类似的代码)?

Type type = Type.GetTypeFromProgID(&#VisualStudio) .DTE.9.0");
DTE2 dte =(DTE2)Activator.CreateInstance(type);

我们需要在Web服务上进行一些设计时处理(例如:重建)用于将Web服务及其Web引用重定向到另一个主机的项目文件。)我们有一个应用程序可以在带有VS TS的工作站上运行,如果它可以在Express环境中运行,那应该很好。 />提前致谢。

Good morning to everyone.
Is there a way to make run the following code (or a similar one) in Express environment?

Type type = Type.GetTypeFromProgID("VisualStudio.DTE.9.0");
DTE2 dte = (DTE2)Activator.CreateInstance(type);

We need this to make some design time processing on a web service (e.g.: rebuild the project file for redirecting web service and its web references to another host).
We have an application that works in a workstation with VS TS on board and it should be good if it can run with an Express Environment.
Thanks in advance.

推荐答案

Express Edition不支持Visual Studio加载项模型,因此我怀疑你是否会使用它。

如果您需要此功能,可以以相当低的成本在标准版中执行此操作。
Express Edition does not support the Visual Studio add-in model by design, so I doubt you'll get this working.

You can do this in Standard Edition at a fairly low cost, if you need this functionality.


这篇关于DTE和VS Express Editions的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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