extensibility

Visual Studio Extensibility, Programmatically Creating A Project

I am attempting to programmatically add a test project to a solution. However when the code below executes I receive a File IO exception on the line "vhaSolution.GetProjectTemplate("TestProject.zip", "Csharp")". The error indicates that "he language specified is not supported by any of the installed packages". Does anyone have any idea w...

Can a Visual Studio 2008 custom tool be passed additional parameters from the custom tool property grid?

Can a Visual Studio 2008 custom tool be passed additional parameters from the custom tool property grid in VS? ...

Visual Studio - Can I export templates via command line?

Is the "Export Template" functionality available from a command line anywhere? I checked the command line arguments for both MSBuild.exe and devenv.exe and didn't see anything obvious. ...

Visual Studio 2008 Plug-in / Add-in development - Getting Started

hey guys, in relation to this stackoverflow question, how would I go about creating my own Visual Studio 2008 plug-in. I've checked the Visual Studio Developer Centre on MSDN, but the amount of info is overwhelming. There are loads of project types, and I don't even know where to start. Where should I start looking if I want to write s...

Best approach to extensibility on node types and context actions in Forms treeview

I'm working on a Visual Studio Add-in for Visual Studio 2008 that display a treeview that provides a view on content in a server product. The server product contains different types of nodes, and each node has its own type of context menu (right click menu). For new types of nodes and the actions connected to a node I currently just add...

Outlook Com Add-In Deployment & Extensibility Issue

Hi All, I'm a developer writing an add-in for Outlook2003/2007 using C#, Visual Studio 2005. I'm also using the COM add-in wizard (not using VSTO, I have a Connect.cs). The program successfully runs with visual studio installed on my machine but when I try to deploy the software I am getting weird behavior. I have a logging system set ...

How does Microsoft's MEF compare to Eclipse?

What is common and different between MEF (Managed Extensibility Framework) and the Eclipse platform? I feel MEF is very similar to Eclipse with DI added. Your thoughts? ...

How to create custom project that inherits from c# using MPF?

Hello, Using Visual Studio's Managed Package Framework, how can I inherit from C# so I can have C# property pages and C# project items? I've tried making a flavored project, but it was limited in terms of making our own custom nodes and custom file properties. When using the MPF, however, I cannot seem to obtain those C# properties that...

ITypeResolutionService not resolving any types

I'm working on a visual studio 2008 add-in that will generate data-access code by looking at the method signature combined with a set of options the user enters in a dialog. For analyzing the method signature I use the ITypeResolutionService of visual studio to lookup a type that either exists in the current project, in the referenced ...

Which static analysis tool for Java is easiest to extend?

Which static analysis tools for Java has easiest extension mechanism. I checked PMD But the process of writing custom rules appears to be very involved. Specifically, I want to know whether there is any tools that offers AspectJ like syntax for picking out interesting areas of code? I am aware of AspectJ's declare warning but it appear...

Writing C# Plugin System

Ok, tried google, really no help. Tried searching for previous question here, nothing similar/in C#. I'm trying to write a plugin system to provide some extensibility to an application of mine so someone can write a plugin(s) for the application without touching the main application's code (and risk breaking something). I've got the ba...

"Visual Studio Integration Package" vs "Visual Studio Add-in": what is the difference?

When creating a new extension for visual studio, there are two project options: "Visual Studio Integration Package" and "Visual Studio Add-in". What is the difference between the two project types and when would you use one over the other? ...

Visual Studio Code Generation, project-based content

I'm interested in doing a bit of code-generation based on certain files being present in the .csproj. What extensibility methods are available to me that I could generate a .cs file that would be compiled along with my project? Caveat: I immediately thought of using T4 templates for the task. However, this solution must be supportable...

Visual studio extensibility - What is the difference between add-ins and macros?

Hello. What are their differences? What can you do with one that you cannot with another? Thanks ...

WebServiceHost doesn't invoke OnAcceptChannel of custom ChannelListener

Hello, I am currently building a custom binding which gets HTTP requests from a different source than from a listening TCP socket. When I access and open a channel directly, there are no problems. However, problems occur when I try to host my binding in an endpoint of a WebServiceHost. I've inserted Console.WriteLine() debug messages i...

TryReceiveRequest gets called infinite times

Hello, I have built a custom binding for being able to receive HTTP messages from an additional source. However, it is not bug-free yet. I've observed that my service pushes CPU usage up to 100 % as soon as the first request was processed and the service getting slower and slower the more requests came in. The reason for this behavior ...

MEF: a replacement for PRISM?

To what extent, if any, is MEF a replacement for PRISM? ...

How do I Extend the Silverlight TabControl for DataBinding?

Yi-Lun Luo at Microsoft says: [C]urrently [the] TabControl doesn't override PrepareContainerForItemOverride, so it won't automatically wrap your data source in TabItems. So the question is: How do I create my own control that: Extends the TabControl. Overrides the PrepareContainerForItemOverride. Automatically wraps my data...

Adding custom tasks to the web site page in IIS 7(.5)

Is it possible to add a TaskItem (or TaskList) to the website page (Web Objects Home Page)? I'd like to provide some contextual access to my addin and I can't seem to find a good integration point. ...

Receive notification of created / updated website as an IIS 7(.5) addin

Is there an events system in IIS 7 extensibility model that can notify an addin when a website is created (via the "Add Web Site" dialog) or when it's bindings are updated (via the "Edit Bindings" dialog)? I suppose it's possible to use WMI events, but I don't want to clash with asynchronous tasks that IIS might be performing after the ...