extensibility

How do I set the Project's 'Start External Program' setting programmatically?

I have an IWizard which gets access to a Project variable. What code do I need to write to set the 'Start External Program' value in project properties? ...

Base classes versus templates versus generated code versus macro's

I have to work out a small framwork that is going to be used by several of our applications. On top of this, the framework is going to be used multiple times within the same application, but with a slightly different configuration. The 'nature' of the configuration is more complex than just having some configuration options and some se...

TFS 2010 Link Extensibility

I found this article (http://blogs.msdn.com/b/narend/archive/2006/10/13/how-to-extend-linking-and-workitem-ui-with-custom-link-types.aspx) about link extensibility in TFS 2005. I'm wondering how to do this in TFS 2010/Visual Studio 2010. It doesn't look like the dll Microsoft.TeamFoundation.WorkItemTracking.Controls.dll exists anymore, ...

Why does creating multiple Tool Windows breaks other tool windows dockable state

I have a simple Visual Studio AddIn that exposes documentation and snippets, each on a separate tool windows. Both use the same UserControl. At any time, the user can double-click on document items inside the tool window to open the document item inside another Tool Window, that shows up in Visual Studio's documents zone (right next to t...

How to Categorize Visual Studio AddIn Commands

I would like my AddIn commands to appear their own category, in the tools menu's customize dialog. Right now, they appear under the Addins category. ...

Netbeans platform vs. Visual Studio Extensibility

Hi it could be that the word versus is too strong for my question but anyway here we go. I have used the Netbeans platform in the past and I was really impressed with it. I haven't tried anything however in VS (2008 my current edition). Does anyone have experience with VS on extensibility? Is it as powerful as Netbeans and can I build c...

Can a VS2010 VSPackage project be installed to VS2008?

I am wondering whether the result VSIX artifact of a VSPackage project created and written in Visual Studio 2010 can be deployed to Visual Studio 2008 - provided, of course, that the package does not use/rely on any .NET 4 assemblies? Alternatively, what other paths may exist, that allow me to create an installable extension targetting ...

How to conditionally generate additional projects from a ProjectItem template?

I have a situation where I'm generating a single project via a Project Item template in Visual Studio. I pop up a dialog which offers the options to create additional test and setup projects, too. My question is: how do I instrument this using the existing infrastructure? ...

Improving loop efficiency/extensibility

I have an array of pixels which make up a 2D grid and I want to move these pixels right and left over time... constantly however the loop I came up with is fairly inefficient and does not allow for much expansion in terms of changing the motion. Any ideas on how to improve what I already have would be much appreciated. while (true) { ...

What is the best way of deploying VS project/item templates?

I made an installer fro project/item templates in VS2010 to put the templates in the user's Templates folder. Is this an OK way of doing things? Or is there a way to deploy templates for all users? If so - where should I put them? Thanks. ...

VS 2010 Custom Classification Format Using VS Pre-Defined Fonts and Colors

I am trying to add some basic syntax highlighting for a new content type in Visual Studio 2010. I am starting with using the Ook Language sample from Microsoft along with a number of channel 9 VSX videos. I do have a working prototype setting the formatting for each tag in the ClassificationFormatDefinition for it just like the Ook pro...

Creating a custom FTP Server in .NET?

Suppose I want to create a "custom" FTP server, that is: It will look like a standard FTP server to the outside world It will actually serve data from either in-memory streams of data (dynamically generated by code) or from network streams, instead of from the actual file system Is there an existing FTP server implementation that I ...