Questions tagged [extensibility]

Extensibility is a system design principle where the implementation takes future growth into consideration. For iOS app extensions, use [ios-app-extension].

291 questions
4
votes
2 answers

How to extend project properties page?

Is it possible to add a custom tab to a project properties page in the Visual Studio 2008? What I want to do is to be able to add a custom tab to properties page for the projects created from default project templates (WPF Application, WPF custom…
aku
  • 122,288
  • 32
  • 173
  • 203
4
votes
3 answers

C# Plugin pattern without interfaces

I've encountered the need to implement a plugin pattern that doesn't fit with anything I've seen elsewhere and I'm just wondering whether I'm looking at it the wrong way or whether anyone else has encountered the same problem and might have a…
Chris Disley
  • 1,286
  • 17
  • 30
4
votes
1 answer

Get Access property of a CodeElement

I'm writing an Add-in for VS 2010. Can't find answer for a question - How can i get the Access property of a CodeElement if it has that one. I was trying reflection, but no results. Ex. CodeElement is a class method public void GetAccess…
ibassenezz
  • 53
  • 4
4
votes
1 answer

Resolving template block structure conflicts with third-party django apps

When incorporating a third-party django app, I typically want it to be integrated aesthetically with the rest of my django project. While this is typically a matter of overriding the apps 'base.html' (if that), we all structure our templates a…
Bryan Head
  • 12,360
  • 5
  • 32
  • 50
4
votes
0 answers

Linking DLL with external resource dependency based on MEF

I read both .net MEF (Managed Extensibility Framework) and MAF (System.AddIn) and I got confused by their online reviews. While MEF seems newer and more attractive than MAF. I can't understand how we can link an extension with .NET application using…
Alrehamy
  • 316
  • 3
  • 16
4
votes
1 answer

Visual Studio External Tools sending command to command prompt

I added Run IL button to external tool section of visual studio . when this button triggered i want to compile current file with ilasm.I can open developer command prompt in this way,however i couldn't add file directory so i have to write "ilasm…
Hector
  • 123
  • 3
  • 9
4
votes
1 answer

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

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!
Morvader
  • 2,317
  • 3
  • 31
  • 44
4
votes
1 answer

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?
r.r
  • 7,023
  • 28
  • 87
  • 129
4
votes
1 answer

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

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…
mark smith
  • 20,637
  • 47
  • 135
  • 187
4
votes
2 answers

Visual Studio 2010 Extension Manager crashes

After installing a bunch of extensions to try out I restarted VS 2010 and it started crashing. Unfortunately, it consistently crashes when opening Tools | Extension Manager. Any ideas how to fix and avoid a complete uninstall/reinstall? Event log…
Alexey
  • 414
  • 3
  • 10
4
votes
2 answers

How to write simple plugin support in PHP?

I'm currently writing a little PHP application for myself for which I'd like to add a simple plugin extensibility. I did found some ideas on how to do this, but I had the feeling they all were way too complex for my needs. Let me explain what…
kteus
  • 41
  • 2
4
votes
1 answer

Custom Output => List of Errors interpretation in VS2008 IDE

I have a "database solution" project in VS2008 - it generates SQL for more than one DB vendor from some sort of templates. In order to save time, I also have a tool in VS2008 configured (a Python script), which can compile an individual stored…
Hamish Grubijan
  • 10,562
  • 23
  • 99
  • 147
4
votes
2 answers

VBA chrashes when trying to execute generated sub

I know I shouldn't be doing this, but I have to. I'm trying to manipulate multidimensional arrays in VBA, in this specific case, I have to add a string to a multidimensional array, with all but the last dimension having single elements like Arr(1 To…
4
votes
2 answers

Experience with fluent interfaces? I need your opinion!

Sorry for this long question, it is flagged wiki since I'm asking for something that might not have a very concrete answer. If it is closed, so be it. My main question is this: How would you write a fluent interface that isn't fully defined in the…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
4
votes
1 answer

Custom MEF ExportAttribute with AllowMultiple=true causes duplication

I want to export type Foo with multiple metadata options: public interface IFoo { void Do (); } [ExportFoo ("Bar", "1.0")] [ExportFoo ("Baz", "1.0")] [ExportFoo ("Baz", "2.0")] public class Foo : IFoo { public void Do () {} } I have…
Athari
  • 33,702
  • 16
  • 105
  • 146