如何使用VB.Net + VS代码在Mac上开发Office Addin? [英] How to Dev Office Addin on Mac with VB.Net + VS Code?

查看:466
本文介绍了如何使用VB.Net + VS代码在Mac上开发Office Addin?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


这篇文章 状态:



  • "您可以使用多种语言编写Office加载项。"
  • "我是否可以使用生成器创建Office加载项并使用VS代码而不管语言或客户端框架? 答:是的,您可以。"
  • "VS Code是一个很棒的工具,可以帮助您开发自定义Office加载项,无论它们是用于Outlook,Word,Excel,PowerPoint还是在Web客户端,Windows客户端,iOS客户端或OS X上运行!" ;





但是,仅针对Javascript提供说明:



  • " Office生成器在创建项目时将创建一个jsconfig.json文件。这是VS Code将用于推断所有JavaScript文件的文件"
  • "只需右键单击任何JavaScript文件即可查找所有引用。"
  • " debug加载项就像任何其他客户端JavaScript应用程序一样。"






VB.Net的配方是什么?


Thx

解决方案

< blockquote>

Hello Johny,


Office应用程序只能使用JavaScript + HTML(CSS)开发。 VB.NET可用于开发基于COM的加载项(例如,VSTO)。您需要使用Visual Studio(VS Code不支持)。请参阅

使用Visual为Office创建VSTO加载项工作室
了解更多信息。 &NBSP;


hi

this article states:

  • "You can write Office Add-ins in many languages."
  • "Can I create an Office Add-in with the generator and use VS Code regardless of the language or client-side framework? A: Yes, you can."
  • "VS Code is a great tool to help you develop your custom Office Add-ins regardless if they are for Outlook, Word, Excel, PowerPoint and run in the web clients, Windows clients, iOS clients or on OS X!"

However, instructions are given only for Javascript:

  • "The Office generator will create a jsconfig.json file when it creates your project. This is the file that VS Code will use to infer all the JavaScript files"
  • "Find all References by simply right-clicking in any JavaScript file."
  • "debug the Add-in just like any other client-side JavaScript application."

What's the recipe for VB.Net?

Thx

解决方案

Hello Johny,

Office Apps can be developed using JavaScript + HTML (CSS) only. VB.NET can be used for developing COM based add-ins (for example, VSTO). You need to use Visual Studio (VS Code doesn't support that). See Create VSTO Add-ins for Office by using Visual Studio for more information.  


这篇关于如何使用VB.Net + VS代码在Mac上开发Office Addin?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆