extensibility

VS 2010 Extensibility - How do you get programmatic access to call hierarchy?

I'm trying to use Visual Studio's Extensibility model to access call hierarchy for a particular method and then to populate my own control with the results. I'm pretty sure the answer must lie in the ICallHierarchyMemberItem interface but I can't work out how to get an instance of the something that implements this interface. Can anyone ...

Extensible WPF application - MEF, MAF or simple loading?

(I know about the other MEF/MAF questions but this is a more specific problem) I want to create a WPF application that will basically be just a simple add-in host, GUI and settings. All of the actual work will be done by one or more plugin(s). They don't need to communicate between each other, the main application will send user input/c...

Database design with table sharing

My application saves posts to database, I have 6 different types of posts and I delibrately NOT joining these post tables with any other tables. Now, they all share some common columns, like, PostID, UserID, Title, Body, PostDate, ViewCount, and many more common columns... And, these 6 types of posts have many of their own unique c...

Customizing Border/Frame of VS 2010 Tool Window

I was viewing the Channel9 video on an introduction to VS 2010 extensibility to learn a bit about creating extensions. In the video, the end "enhanced" product was supposedly using a tool window but it did not look like one; it had no titlebar or anything. http://channel9.msdn.com/posts/VSIPMarketing/VSX101-An-Introduction-to-Visual-Stu...

Extending the extension manager.

I want to extend the extension manager in Visual Studio 2010. I'd rather know if that is at all possible before I get into it, but am unable to find anything about it. All the extensibility options I've read about mention nothing about being able to actually change the function of an existing VS2010 tool like the extension manager. I'd...

Visual Studio 2010 SDK Scan Source files in project

I'm working with the 2010 SDK and I am trying to figure out how to tie into VS in someway that I have a background process running that is constantly analyzing .CS files in the current project and adding them to a dictionary so I can show some graphical cues in the editor of a custom text document that I have. I have been doing quite a ...

Own extensibility layer or MEF/MAF?

For those that work with application extensibility in .NET, what do you prefer doing - creating your own extensibility layer or using MEF (Managed Extensibility Framework) or MAF (Managed Add-in Framework)? So far, I've used both ways of implementing application extensibility and I like MEF for the fact that it makes it easier to load e...

Determine which Items are new when ProjectsEvents.ItemAdded is fired (VS Extensibility)

In my add-in I build List<> objects of specific file types (which are project items) during the Connect() event. In order to check and possibly append new items as and when these are added I've bound the relevant event: ProjectsEvents.ItemAdded += ProjectsEvents_ItemAdded; But the event only passes the Project which contains the new ...

Where should I attach solution or project events in my Visual Studio add-in?

Can anyone suggest the best place to add solution or project events, such as ProjectAdded, to a Visual Studio add-in? If I do this when the add-in connects then there's no solution loaded, so how can I tell when a solution has been loaded? For example, if I write an event to handle project items being added, where should I attach this?...

Extending VS 2010: to include additional items on Right Click context menu (add) on solution explorer?

Hi there, I wish to create an additional item on the context sensitive right click "ADD" on the solution explorer in vs 2010. Basically it currently looks like this New Item Existing Item New Folder Add ASP.NET FOLDER // ACTUALLY THIS IS A MENU with a SUB MENU Class What i am trying to do is create a new item similar to "Add asp.net...

How to add your own extension in Visual Studio 2010 to the context menu of the html/aspx code editor?

I made my own extension for Microsoft Visual Studio 2010. Within my VSCT-file I defined a group for my command to add it to the context menu of the code-editor: <Groups> <Group guid="guidUCCmdSet" id="UCMenuGroup" priority="0x0600"> <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_CODEWIN"/> </Group> </Groups> Thats work...

Is it possible to have a vs2010 vsix check for updates locally?

I'm writing a project structure and code analysis extension for visual studio at work. The project can not be published to the Visual Studio Extensions Gallery. Is there any way to manage updates and deployment built in to visual studio so that a team can use the extension and get the update prompts? ...

how to pass/transfer out parameter as reflection? - visual studio extensibility c#

I have an out parameter. Is it possible to transfer it as reflection? Can you give me some examples how to do that? ...

Looking for a Java framework that allows end users to extend the data model at runtime

Is there a Java framework that allows me to extend the data model at runtime with new fields and maybe even classes? Ideally, non-Java people should be able to do that (i.e. with a config dialog). ...

How to extend Visual Studio to provide override-like behavior?

When you type the override keyword in a C# file in VS and press Space, you get a second menu offering the method to override. Can I extend this behavior with my own custom code that would use another keyword to pop up my own list of actions? ...

API for adding Code Snippets Locations in visual studio

I'm currently creating a Visual Studio Add-In and require the ability to add a location for custom Code Snippets to the users Visual Studio Environment programatically. I'm aware of the DTE Command Tools.CodeSnippetsManager but don't know if there are command argurments which allow me to add these locations. ...

How can I implement a custom QueryStringConverter for RESTful WCF?

I've implemented a customized QueryStringConverter class and hooked it up using a customized WebHttpBehavior subclass. When I make a service call, it hits my breakpoint in the CanConvert override (and I return true for this parameter), but it never calls my ConvertStringToValue override, and ends up just passing null to the service call....

Integrate language service (MPF) and editor extension (MEF)

Hi, Does anybody the correct way to integrate a languageService (MPF) with an editor extension (MEF) in Visual Studio 2010. Where to implement the member completion, syntax highlight, quick info, etc.? Any example avaliable? Thanks! ...

Any way to add custom properties to the file properties grid in Visual Studio?

In Visual Studio (specifically, 2008 and 2010), when you invoke the View.PropertiesWindow command (default key, F4) in a C# project, you get a property grid with a standard set of properties that apply to all project items. Is there any way to customize that list of properties? Specifically, I'd like to associate additional information ...

/RANU switch on RegPkg.exe always fails on VS2010 SDK

Hi; I am trying to get RegPkg to register a Visual Studio 2010 extension package under HKCU rather than HKLM. Supposedly, the /RANU switch is for that (/? help lists the switch), but if I invoke "RegPkg.exe /RANU assemblyToRegister.DLL", RegPkg fails with "regpkg : error : Invalid Parameter 'RANU'" Tried various other placements and ca...