add-in

Unknown Publisher still appears on correctly code-signed VSTO addin built with VS2010

放肆的年华 提交于 2019-11-30 16:42:58
问题 I have a OneClick Deployed VSTO Addin that I have signed with a up-to-date Verisign code-signing certificate (PFX). I have verified that I am signing correctly with Verisign support on the phone – they concur. I am building with VS2010. Nonetheless, the Addin shows “unknown publisher” when I try to install. Why? How can I replace “Unknown Publisher” with the name of the Publisher on the PFX certificate? This is what I have done to try to solve the problem to date: Found this question about

Visual Studio: How to write Editor Extensions with WPF

大兔子大兔子 提交于 2019-11-30 15:22:34
问题 Im trying to write a editor extension for Visual Studio. I have the downloaded VS SDK and created a new Visual Studio Package project. But the dummy control created for me is a Windows Forms control and not a WPF control. I'm trying to replace it with a WPF-control but not doing so well. Is this possible anyhow? Another related question: Is it only possible to write text-editors? What I really want is a editor that looks more like a form with many different fields. But it doesn't seem to be

Optional Argument of COM Add-in vs Automation Add-in Written in C#

戏子无情 提交于 2019-11-30 14:17:33
I am working on a library of COM Add-in and Excel Automation Add-in, whose core codes are written in C#. I'd like to set an optional argument for the function and I know that this is legal for both C# and VBA, and even Excel WorksheetFunction. But I find that finally the optional argument works exclusively for COM and Automation add-in, meaning that if one add-in is run first, then works well but the optional argument of the other one will not work. Below please see the example: In the VS 2013 solution, I have two projects: one is called TestVBA and another one is called TestExcel . TestVBA is

Visual Studio: How to write Editor Extensions with WPF

喜夏-厌秋 提交于 2019-11-30 14:03:30
Im trying to write a editor extension for Visual Studio. I have the downloaded VS SDK and created a new Visual Studio Package project. But the dummy control created for me is a Windows Forms control and not a WPF control. I'm trying to replace it with a WPF-control but not doing so well. Is this possible anyhow? Another related question: Is it only possible to write text-editors? What I really want is a editor that looks more like a form with many different fields. But it doesn't seem to be what this is made for? There are a lot of interfaces on the EditorPane that imply a text-editor model

Console log in Javascript Office Addin

旧巷老猫 提交于 2019-11-30 12:48:39
I have a question about "console.log" in Javascript Web Office Addins . Currently I am working on Javascript Word Addin and can't troubleshoot it, because I don't understand where the "console.log" output is sent. On Microsoft site there are a lot of examples, that contain contain "console.log", but they never specify how to check these outputs. So, the question is how can I see this "console.log" output. I am not using Visual Studio. BR, Alexey When you say you're not using Visual Studio, do you mean that you're not using the Visual Studio template? Or that you physically don't have Visual

Process for updating Excel add-in?

时间秒杀一切 提交于 2019-11-30 10:25:52
I have an Excel 2003 add-in deployed in one of our departments that occasionally needs updated. What currently happens is that I publish the new version from my machine to a central location, this updates a version number stored in a database that the add-in checks each time any of the modules within it are run, and if a newer version number is found then the add-in halts with a message informing the user that they need to update the add-in. This currently involves them running another workbook with a workbook_open event that changes the add-in. What I'd like to have is the add-in detect that

Iterating unregistered add-ins (.xla)

跟風遠走 提交于 2019-11-30 09:10:37
I need help in figuring out how to iterate through currently open Excel add-in files (.xla) that have not been registered in Excel using the Tools > Add-ins menu path. more specifically, I am interested in any workbook that doesn't appear in the Add-In dialog, but has ThisWorkbook.IsAddin = True . Demonstrating the issue: Trying to loop through workbooks as follows doesn't get workbooks with .AddIn = True : Dim book As Excel.Workbook For Each book In Application.Workbooks Debug.Print book.Name Next book Looping through add-ins doesn't get add-ins that are not registered: Dim addin As Excel

search for a value in an object at runtime [QuickWatch enhancement]

别等时光非礼了梦想. 提交于 2019-11-30 08:18:40
问题 sometimes I waste my time searching for a value in an object at runtime. Certainly you-all know this task --> open the QuickWatch view and browse through the properties until you find what you're looking for. I'm looking for a tool/add-in/extension where it is possible to search for a value in object. The QuickWatch view with a search enhancement would be perferct :) sb. knows a tool? Thanks! 回答1: Actually, I wrote a commercial extension to Visual Studio (called "OzCode") that does exactly

How can I debug MonoDevelop add-ins with MonoDevelop?

半腔热情 提交于 2019-11-30 07:33:17
The topic says it all. I cannot find any information on the monodevelop site or through google. Even adding System.Diagnostics.Debugger.Break() and running with mono --debug MonoDevelop.exe doesn't seem to do anything.. mono --debug doesn't have anything to do with the debugger, it simply causes Mono to track debug information so it can give you file/line/col information in backtraces. The behaviour of System.Diagnostics.Debugger.Break() depends on your Mono version. AFAIK in its basic form it sets a hard breakpoint, so if your app's not running in a native hard debugger it will simply crash.

Load nuget dependencies at runtime

浪子不回头ぞ 提交于 2019-11-30 06:51:22
I'm looking for a way to run code by executing the following steps : Receiving a list of NuGet packages (a list of tuples ("package name", "package version", "path to main class"). Retrieving them in a local directory (cf code sample #1) Loading them in my program at run-time Running the main classes by introspection (cf code sample #2) By now I am struggling with the third step. I can't find out how to load my package at run-time. My main question are : How can I find out in which folders were stored the retrieved packages ? How can I load the content of those directories into my program ?