extensibility

IRibbonExtensibility GetCustomUI not called

爷,独闯天下 提交于 2019-12-22 09:20:09
问题 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 "GetCustomUI" of interface IRibbonExtensibility is not being called in his environment. I'm not sure what can be the cause for the different behavior, why doesn't Outlook call the GetCustomUI on the customer machine? Also - Is it possible to initiate a call

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

偶尔善良 提交于 2019-12-22 09:01:15
问题 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 information associated with the images has been previously stored in a JET database of extreme simplicity (four tables) which turned out to be both slow and incomplete in the stored fields. We're moving to a new implementation of data storage. Given

What add-in/workbench framework is the best .NET alternative to Eclipse RCP?

萝らか妹 提交于 2019-12-21 12:35:56
问题 I'm looking for a plugin-based application framework that is comparable to the Eclipse Plugin Framework, which to my simple mind consists of: a core plugin management framework (Equinox / OSGI), which provides the ability to declare extension endpoints and then discover and load plugins that service those endpoints. (this is different than Dependency Injection, but admittedly the difference is subtle - configuration is highly de-centralized, there are versioning concerns, it might involve an

Is it possible to have a vs2010 vsix check for updates locally?

一世执手 提交于 2019-12-20 04:31:16
问题 I'm writing a project structure and code analysis extension for visual studio at work. The project can not be published to the Visual Studio Extensions Gallery. Is there any way to manage updates and deployment built in to visual studio so that a team can use the extension and get the update prompts? 回答1: No, this is not a supported operation on Visual Studio 2010. I just verified this with the extension manager team. 回答2: Looks like you can do this now with Private Galleries! 来源: https:/

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

丶灬走出姿态 提交于 2019-12-18 11:59:40
问题 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 something which meets the following requirements: A plug-in that runs like a "service" in Visual Studio, and is able to poll Visual Studio for information, and

MEF: a replacement for PRISM?

懵懂的女人 提交于 2019-12-18 10:53:19
问题 To what extent, if any, is MEF a replacement for PRISM? 回答1: Edit: Do not read this answer. It is embarrassingly wrong. I am fail. Read Glenn Block's below. It's not obvious, but this is the same question: Managed Extensibility Framework (MEF) vs. Composite UI Application Block (CAB) Consensus in the duplicate post is that MEF and Prism provide the same basic set of functionality in different ways, except that Prism provides the Event Aggregator, which is a pub-sub means of communication

IIS FTP 7.5: custom extension assembly gets cached and won't be updated

佐手、 提交于 2019-12-13 02:23:52
问题 IIS FTP 7.5 on Windows 7 caches the assembly with custom extension (managed code, C#). Once you start the server for the first time with that library file, new versions of it will not be picked up, regardless of whether you restart server, install-uninstall from GAC etc. The only way to get the new implementation file into IIS FTP is to change the version name in the strong name. Is there a way to replace the implementation without changing the version number, simply by replacing the file?

Where should I attach solution or project events in my Visual Studio add-in?

不羁岁月 提交于 2019-12-12 10:56:11
问题 Can anyone suggest the best place to add solution or project events, such as ProjectAdded, to a Visual Studio add-in? If I do this when the add-in connects then there's no solution loaded, so how can I tell when a solution has been loaded? For example, if I write an event to handle project items being added, where should I attach this? The event would be fired by the project, and that in turn by the solution, so I can't attach the events when the add-in connects because there is no solution

how to pass/transfer out parameter as reflection? - visual studio extensibility c#

家住魔仙堡 提交于 2019-12-12 09:45:12
问题 I have an out parameter. Is it possible to transfer it as reflection? Can you give me some examples how to do that? 回答1: I'm not sure what this has to do with VS extensibility, but it's certainly possible to invoke a method with an out parameter by reflection and find out the out parameter's value afterwards: using System; using System.Reflection; class Test { static void Main() { MethodInfo method = typeof(int).GetMethod ("TryParse", new Type[] { typeof(string), typeof(int).MakeByRefType() }

Experience with fluent interfaces? I need your opinion!

笑着哭i 提交于 2019-12-12 08:56:03
问题 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 base classes, so that programs that uses the fluent interfaces can tack on new words inside the existing structure, and still maintain a guiding interface so that after a dot, the intellisense only lists the keywords that actually apply at this