Recently Microsoft introduced the Office Add-ins architecture which allows for developing add-ins hosted remotely and run within IFrames inside office. I have read a lot trying to understand whether this architecture is meant as a replacement for VSTO or do they have separate use-cases. VS 2015 has templates for both.
In my specific case, I want to develop an add-in that extends Excel 2016 with custom import functionality (e.g. custom CSVs, TSV, or even XLSX). I can't tell which type of project I should go with.
答案 0 :(得分:11)
考虑到作为COM和VSTO加载项开发的遗留应用程序的数量,我发现很难相信微软会在未来10年内放弃支持。
对我来说,一种方法与另一种方法最重要的区别是:
COM / VSTO Office加载项
JavaScript Office加载项
在你的情况下,我会问自己这些问题:
答案 1 :(得分:2)
我发现VSTO也没有100%实施。我放弃了为Project开发VSTO,受到太多问题的打击。相反,我已经在VBA中开发了所有内容,并且已经完善了一些安装,分发和更新VBA宏的简洁方法。