extensibility

Visual Studio and add-in unloading

When I remove an add-in from Visual Studio's add-in menu, it doesn't get unloaded from memory. Does anyone know if I can write some code for my add-in (in C#) that would force this unloading. Is this even possible, or do I have to restart VS? ...

Right way of working with connectMode for VS add-ins

Can someone point me to a guide on how to interpret the connectMode parameter that gets passed when a VS add-in is loaded? ...

Using Word 2007 as CMS page editor

I have been searching for several hours but i couldn't find anything about this... Basically I would like to create a template or plug-in for word 2007 that would allow someone to create new pages for a CMS. What I have in mind is something similar to blog post template. I know how to create a basic template but I can't find a way to pub...

Does it exist an API for "International Settings" in Visual Studio?

I'm working on Visual Studio Extensibility and I need to set the "shell" language from code. In other words, I'm looking for an API to do the same you can do "by hand" with the Tools -> Options... -> Environment -> International Settings property page. Up to now I didn't find any reference: hints and suggestions are welcome. ;-) Thanks i...

How can I get the VS add-in to write to the Output window?

I want to get my add-in to write to the Output window in Visual Studio. How can I do it? Found the answer here: http://www.knowdotnet.com/articles/outputwindow.html – Dmitri Nesteruk ...

How to deploy Visual Studio add-ins via ClickOnce?

Is is possible to deploy VS add-ins using ClickOnce? How can I do it? ...

IIS 6.0 FTP Server Extensibility

Are there any extensibility points for IIS 6.0 FTP Server? I'm trying to write a simple plugin to determine whether a file has been successfully downloaded or not. Cheers Alex ...

What messaging/communication programs can be embedded into Visual Studio?

Does anyone have experience with embedding messaging or mailing programs into VS? I'm interested in things like Skype or Instant Messenger being embedded as tool windows. If you use (or have used) something like this, how has it affected your productivity? ...

VimL Script language: what is an acceptable alternative?

Problem: One of my favorite aspects of Vim is its flexibility. One of my least favorite is the VimL script language itself. I know everyone has his or her own preference for languages and editors, so I take it for granted that not everyone agrees with me. Question: If you are a Vim user, and if you have had a similar disaffection for us...

Compiling pages with custom extension (for ex .custx) as if they were .xaml files in Visual Studio

In a VS Package (Visual Studio Extensibility), I have a custom extension registered (for ex ".custx") with XamlLanguageService, so that in Visual Studio when the user opens .custx, it opens up in Xaml Designer/editor just like a .xaml file. However when I compile it as "Page" (BuildAction), the WINFX targets / Compiler errors out with ...

How to make WebBrowser to save its content as an MHT file?

Internet Explorer can save its content as an MHTML file using the "Save As..." menu command. Is this feature exposed by its COM interface? ...

Aside from the Addins folder, where (and how) do VS add-ins get deployed?

I'm trying to figure out how it's possible to deploy a Visual Studio add-in to its own folder, rather than using the Addins folder. I know it's possible - tools like ReSharper do it - but I cannot find any info on how to tell VS where the add-in is located. Can someone explain to me how it's done? Thanks! ...

How would you force the System.Net.Socket.Connect() method to use a socks proxy (code injection vs external custom proxy)

I'm using WCF's netTcpBinding, which connects directly to an endpoint and doesn't seems to know anything about socks proxies. I need to use a proxy because most of my clients won't allow direct outbound connections, and enforce the use of socks proxies at all times. My first idea was to configure the .net framework to do that, so I ed...

Adding Plugin Support : Interface or Base class to inherit?

I'm adding plugin support to my .NET application. A base class sounds reasonable to me, so people can inherit it and override certain calls as well can keep the default functionality or can use some internal helper functions. Why would I choose interface instead of a base plugin class to inherit? Could you tell which design I should ch...

What event is raised when a file is added to a project?

Hello, What are the events that are raised when a new or existing file is added/removed to/from a project (.vcproj or .csproj)? I actually want to handle all possible events that might change the project structure in terms of added or removed project items. This is in the context of creating add-ins for Visual Studio. Can anybody tell...

Huge AboutIconData block in add-in file

In my generated .addin files for visual studio, I get really huge chunks of binary data under the AboutIconData property. Can anyone suggest as to why this data keeps on growing with time, and whether I can safely remove it? ...

Extensibility without Open-Source

My company is currently in the process of creating a large multi-tier software package in C#. We have taken a SOA approach to the structure and I was wondering whether anyone has any advice as to how to make it extensible by users with programming knowledge. This would involve a two-fold process: approval by the administrator of a produ...

asp.net designer how to get the designed page type

hi, I want to find out inside a webcontrol the real type of the page that is designed in Visual Studio 2008. I can obtain the WebFormsRootDesigner, and somehow i know it is possible to get the file path of the aspx page. I would like rather to get the ProjectItem for that page, because it would be an overkill to have the control pars...

After 17 years is it too late to fix C++ runtime extensibility?

The 1992 to 1993 timeframe was pivotal and fateful for C++. In the '92/'93 time frame I worked on a plugin architecture for Aldus PageMaker, which was coded in C++. PageMaker was built on a C++ OOP framework called VAMP, which assisted its portability between Mac OS and Windows. So we tried to use the features of C++ to build a plugin ...

IExtension : extensible object pattern : How does it work?

I was exploring about Extensible object pattern using (IExtension, IExtensibleObject) interfaces in C#, I came with a very simple example to convert dates to UTC from local and vice-versa: public class BaseObject : IExtensibleObject<BaseObject> { private DateTime _startDate; private ExtensionCollection<BaseObject> _...