测试和调试 Office 加载项Test and debug Office Add-ins

本部分介绍了如何测试、调试和排查 Office 加载项问题。This section contains guidance about testing, debugging, and troubleshooting issues with Office Add-ins.

旁加载 Office 加载项以供测试Sideload an Office Add-in for testing

可以通过旁加载来安装 Office 加载项以供测试,而无需先将它添加到加载项目录中。 加载项的旁加载过程因平台而异,在某些情况下,也因产品而异。 下面的文章分别介绍了如何在特定平台或产品中旁加载 Office 加载项:You can use sideloading to install an Office Add-in for testing without having to first put it in an add-in catalog. The procedure for sideloading an add-in varies by platform, and in some cases, by product as well. The following articles each describe how to sideload Office Add-ins on a specific platform or within a specific product:

调试 Office 加载项Debug an Office Add-in

Office 加载项的调试过程也因平台而异。 下面的文章分别介绍了如何在特定平台上调试 Office 加载项:The procedure for debugging an Office Add-in varies by platform as well. Each of the following articles describes how to debug Office Add-ins on a specific platform:

验证 Office 加载项清单Validate an Office Add-in manifest

若要了解如何验证描述 Office 加载项的清单文件,以及如何排查清单文件问题,请参阅验证并排查清单问题For information about how to validate the manifest file that describes your Office Add-in and troubleshoot issues with the manifest file, see Validate and troubleshoot issues with your manifest.

排查用户错误Troubleshoot user errors

若要了解如何解决用户在使用 Office 加载项时可能会遇到的常见问题,请参阅排查 Office 加载项中的用户错误For information about how to resolve common issues that users may encounter with your Office Add-in, see Troubleshoot user errors with Office Add-ins.