为什么可选加载项没有在功能区上显示为单独的选项卡?

时间:2020-01-04 08:05:52

标签: c# vsto add-in office-addins ms-project

使用者:

  • MS Project 2016 Pro桌面;
  • Visual Studio 2019社区;

    问题:
    我在MS Project中安装了加载项“ Add-in-1”。
    我创建了“外接程序2”外接程序项目。
    我开始调试Add-in-2加载项。
    结果:“ Add-in-2”显示在与“ Add-in-1”相同的选项卡上。
    enter image description here

说明:

  • “插件1” 我创建了一个加载项。
    我没有在Visual Studio中调试加载项。
    我安装了加载项。
    结果:
    图片
    enter image description here
  • “外接程序2”
    我创建了一个加载项。
    我没有安装加载项。
    我正在Visual Studio中运行加载项调试。
    结果:
    Visual Studio中的“加载项2”
    enter image description here Visual Studio中的“加载项2”。调试
    enter image description here

注释。
我打算这样做:
-项目“插件1”-在“标签1”标签上显示(或在多个标签上显示);
-项目“插件2”-显示在“标签2”标签上(或显示在多个标签上)。

问题。
1.为什么附加组件“ Add-in-1”和“ Add-in-2”没有显示在单独的选项卡上?


更新1

我做了一个改变。
插件2。功能区已重命名。当前名称为Ribbon1Test
插件2。 tab1已重命名。当前名称为tab1Test
插件2。标签1。 ControlID重命名。当前名称为TabAddInsTest

插件2。功能区。 enter image description here

插件2。 tab1
enter image description here

插件2。 tab2。 enter image description here

我正在调试。
插件1。标签1。 enter image description here

插件2。 tab2。 enter image description here

结果:无插件2。 tab1。

0 个答案:

没有答案
相关问题