objectbrowser

Visual Studio SDK get type modifier information - is type abstract or internal?

百般思念 提交于 2020-04-18 12:35:38
问题 I use the IVsObjectList2.GetCategoryField2 method to retrieve different information of a type. Now I wonder how I can retrieve C# specific information like abstract or internal modifier of a type? The Object Browser can displays this informations. Update 1: I have made another attempt to get this information. Via the DynamicTypeService and the IVsHierarchy (of the project) I can get the TypeResolutionService . This can then return the Type I'm are looking for, and form the Type I get the

Visual Studio SDK get type modifier information - is type abstract or internal?

谁说胖子不能爱 提交于 2020-04-18 12:35:36
问题 I use the IVsObjectList2.GetCategoryField2 method to retrieve different information of a type. Now I wonder how I can retrieve C# specific information like abstract or internal modifier of a type? The Object Browser can displays this informations. Update 1: I have made another attempt to get this information. Via the DynamicTypeService and the IVsHierarchy (of the project) I can get the TypeResolutionService . This can then return the Type I'm are looking for, and form the Type I get the

Object Browser can't browse my own solution?

被刻印的时光 ゝ 提交于 2020-01-15 03:07:08
问题 When I click on "My Solution" nothing comes up. I have to use Custom Component Set. When I try to add a project from the solution, it can't add it. "The following components could not be browsed." ...projectnamehere I have to browse for the .dll directly. Also, not all the /// comments are showing up. 回答1: This is a limitation of Visual Studio; some features were cut due to time constraints: http://connect.microsoft.com/VisualStudio/feedback/details/541514/object-browser-doesnt-open-an-f-dll

Why can't I browse dll to figure what's in it?: “Some components could not be browsed”

瘦欲@ 提交于 2019-12-11 05:52:40
问题 I'm looking for a missing COM interface X which I suspect is defined in Y.dll . I can peek at this presumptive interface using grep X Y.dll which says "matches". Hurrah, suspicion confirmed! Alas, when I use the Object Browser in Visual Studio Express, trying to add Y.dll to my Custom Component Set, I get the error: "Some components could not be browsed" in a pop-up window. So what are the reasons I can't browse this dll? Can the COM interfaces deliberately or accidentally be protected,

Visual Studio 2010 and .bsc file

可紊 提交于 2019-12-07 23:33:11
问题 I'm using an open source Mozilla project in Visual C++ 2010. The project requires UNIX based build tools and therefore I cannot create a Visual Studio project for it directly. I must use the command line build files (makefile, configure script, etc) bundled with the project to build the project using cl.exe. (This is due to the fact that some .h files are generated by the make utilities.) The problem is, without creating a Visual Studio project, how do I browse through the project source