English 中文(简体)
在2010年视力演播室内找到项目/参考清单
原标题:Get a list of projects/references within a Visual Studio 2010 Extension

I m 制作《2010年视觉演播》推广包(Microsoft.VisualStudio.Shell.Package),需要分析所有项目和这些项目参考资料。 我假定,这项工作是以一项服务(例如:Package.Getservice(类型)(IMenuCommandservice)>。 我所需要的是包含一个功能的接口,以便获得这些项目的清单和参考。 此外,对于在什么地方找到一个包含视力室内现有接口的参考资料,将非常感谢。

Note that I ve seen multiple people trying to do something similar using DTE from a macro. That s not what I m trying to do. I m trying to do the same thing from within a Visual Studio Extension.

最佳回答

因此,即使你作为延期的一部分重新这样做,你仍需要利用数字分析软件接收你想要的所有信息。 这似乎倒退了,但这只是它如何运作。 您应通过<代码>(EnvDTE.DTE)Package.Getservice(打字) gr。 页: 1 EnvDTE. Project, Access it s 反对成员,并投到。 如果是C#或VB项目。 这是你所需要的参考信息。

问题回答

暂无回答




相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Enable PHP highlights in VS 2010?

I ve heard that Visual Studio 2010 Beta 2 has support for PHP. When I load a PHP file though, it has nothing highlighted and is nothing more than a glorified text editor. Is there a way to enable it?...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

Unit Testing .NET 3.5 projects using MStest in VS2010

There s a bug/feature in Visual Studio 2010 where you can t create a unit test project with the 2.0 CLR. https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=483891&wa=...