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].

282 questions
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
  • 2
  • 14
4
votes
1 answer

How to create extensible Electron applications?

Atom and Visual Studio Code are probably the biggest Electron apps so far and they're both quite extensible, and the are other smaller examples like N1. By extensible I mean, they support plug-ins. The problem is: I thought I would find something on…
André Pena
  • 48,518
  • 37
  • 172
  • 216
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,209
  • 3
  • 29
  • 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
  • 6,493
  • 27
  • 82
  • 128
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
  • 19,527
  • 44
  • 131
  • 185
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
  • 396
  • 2
  • 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
  • 1
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…
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
  • 350,178
  • 94
  • 582
  • 779
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
  • 32,207
  • 13
  • 100
  • 135
4
votes
2 answers

How to write simple, extensible, modular Javascript

I need a mechanism whereby people can extend my base code with their own modules - but I'm struggling to come-up with a simple mechanism to do that. Example: a function called 'test' which users can extend. Each user module is loaded after the…
user834595
4
votes
1 answer

IRibbonExtensibility GetCustomUI not called

I'm developing a shared add-in for Outlook. One of my customers is experiencing trouble on his machine, he does not see my add-in buttons/ui in the main window ribbon. After exploring his environment and my logs I noticed that the function…
ori888
  • 604
  • 1
  • 7
  • 16
4
votes
6 answers

Best (free) way to store data? How about updates to the file system?

I have an idea for how to solve this problem, but I wanted to know if there's something easier and more extensible to my problem. The program I'm working on has two basic forms of data: images, and the information associated with those images. The…
mmr
  • 14,271
  • 28
  • 89
  • 142
4
votes
4 answers

How do I run (unit) tests in different folders/projects separately in Visual Studio?

I need some advice as to how I easily can separate test runs for unit tests and integration test in Visual Studio. Often, or always, I structure the solution as presented in the above picture: separate projects for unit tests and integration tests.…
andynil
  • 25,900
  • 2
  • 27
  • 26