question

AlexEacott-1235 avatar image
0 Votes"
AlexEacott-1235 asked SeanLaberee-1767 answered

My Excel Add-In won't run on desktop

Running the add-in on excel for the web works perfectly, but I can only get the add-in to load on excel for desktop (both mac and windows) if I comment out the VersionOverrides part. Any ideas on what is causing this compatibility issue?

<?xml version="1.0" encoding="UTF-8" ?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="TaskPaneApp">
  <Id>889d898d-86a1-4489-b156-b61bee7ffa11</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Contoso</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="SourceWhale Add-In Testing"/>
  <Description DefaultValue="A template to get started."/>
  <IconUrl DefaultValue="https://dl.dropboxusercontent.com/s/2rorwy0vdjaw6cr/32.png?dl=0"/>
  <HighResolutionIconUrl DefaultValue="https://dl.dropboxusercontent.com/s/uftjc9ztis7r2yp/64.png?dl=0"/>
  <SupportUrl DefaultValue="https://sourcewhale.app/dashboard"/>
  <AppDomains>
    <AppDomain>https://sourcewhale.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Workbook"/>
  </Hosts>
  <Requirements>
   <Sets DefaultMinVersion="1.3">
      <Set Name="ExcelApi" MinVersion="1.3"/>
   </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://localhost:3000/taskpane.html"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>
          <FunctionFile resid="Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="SourceWhale">
              <Group id="CommandsGroup">
                <Label resid="CommandsGroup.Label"/>
                <Icon>
                  <bt:Image size="16" resid="Icon.16x16"/>
                  <bt:Image size="32" resid="Icon.32x32"/>
                  <bt:Image size="80" resid="Icon.80x80"/>
                </Icon>
                <Control xsi:type="Button" id="SourceWhale Button">
                  <Label resid="TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="TaskpaneButton.Label"/>
                    <Description resid="TaskpaneButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16x16"/>
                    <bt:Image size="32" resid="Icon.32x32"/>
                    <bt:Image size="80" resid="Icon.80x80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId1</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
              <Label resid="CommandsGroup.Label" />
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://res.cloudinary.com/crunchbase-production/image/upload/c_lpad,f_auto,q_auto:eco,dpr_1/qksbdyt3lus5cs8k1amh"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://res.cloudinary.com/crunchbase-production/image/upload/c_lpad,f_auto,q_auto:eco,dpr_1/qksbdyt3lus5cs8k1amh"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://res.cloudinary.com/crunchbase-production/image/upload/c_lpad,f_auto,q_auto:eco,dpr_1/qksbdyt3lus5cs8k1amh"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812"/>
        <bt:Url id="Commands.Url" DefaultValue="https://localhost:3000/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://localhost:3000/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="SourceWhale has been added successfully!"/>
        <bt:String id="CommandsGroup.Label" DefaultValue="SourceWhale"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="SourceWhale"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Make sure your headers are valid, and then open the Add-In to get started."/>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Click to open the SourceWhale Add-In"/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
office-addins-devoffice-js-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SeanLaberee-1767 avatar image
0 Votes"
SeanLaberee-1767 answered

Hi @AlexEacott-1235,

Sorry that you're running into this problem. I've reproduced the issue. I tried running it through the office add-in validator and it reported it was fine. As a result, I've escalated this to the Excel dev team to investigate.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.