none
Deployment Validation Error: The app manifest contains a URL to an invalid icon in the IconUrl element. The icon's size is not valid. RRS feed

  • Question

  • When I perform a validation check for my Outlook VSTO app, it fails with the error:

    "The app manifest contains a URL to an invalid icon in the IconUrl element. The icon's size is not valid."

    The size is correct, and I've tried a number of different formats. I even downloaded a sample app from the Napa development site, and that fails with the exact same error.

    As far as I can tell, the manifest is posted to this URL:

    https://www.napacloudapp.com/OfficeAppValidation/ValidateAndDisplayResults

    This is the Manifest for the sample app that fails:

    <?xml version="1.0" encoding="UTF-8"?>
    <!--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9-->
    <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"
               xsi:type="MailApp">
      <Id>eae23e85-1273-4812-a086-e4af9c7c0c2c</Id>
      <Version>1.0.0.0</Version>
      <ProviderName>Microsoft</ProviderName>
      <DefaultLocale>en-US</DefaultLocale>
      <DisplayName DefaultValue="Use Identity Token" />
      <Description DefaultValue="UseIdentityToken description"/>
      <IconUrl DefaultValue="https://appcommandicons.blob.core.windows.net/images/taskpane_32x.png" />
      <SupportUrl DefaultValue="https://support.org" />
        <Hosts>
          <Host Name="Mailbox" />
        </Hosts>
        <Requirements>
          <Sets>
            <Set Name="MailBox" MinVersion="1.1" />
          </Sets>
        </Requirements>
        <FormSettings>
          <Form xsi:type="ItemRead">
            <DesktopSettings>
              <SourceLocation DefaultValue="~remoteAppUrl/AppRead/Home/Home.html"/>
              <RequestedHeight>250</RequestedHeight>
            </DesktopSettings>
          </Form>
        </FormSettings>
        <Permissions>ReadItem</Permissions>
        <Rule xsi:type="RuleCollection" Mode="Or">
          <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
        </Rule>
      <DisableEntityHighlighting>false</DisableEntityHighlighting>
      <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">

        <Requirements>
          <bt:Sets DefaultMinVersion="1.3">
            <bt:Set Name="Mailbox" />
          </bt:Sets>
        </Requirements>
        <Hosts>
          <Host xsi:type="MailHost">

            <DesktopFormFactor>
              <FunctionFile resid="functionFile" />
              <!-- Message read form -->
              <ExtensionPoint xsi:type="MessageReadCommandSurface">
                <OfficeTab id="TabDefault">
                  <Group id="msgReadDemoGroup">
                    <Label resid="groupLabel" />
                    <!-- Task pane button -->
                    <Control xsi:type="Button" id="msgReadOpenPaneButton">
                      <Label resid="paneReadButtonLabel" />
                      <Supertip>
                        <Title resid="paneReadSuperTipTitle" />
                        <Description resid="paneReadSuperTipDescription" />
                      </Supertip>
                      <Icon>
                        <bt:Image size="16" resid="green-icon-16" />
                        <bt:Image size="32" resid="green-icon-32" />
                        <bt:Image size="80" resid="green-icon-80" />
                      </Icon>
                      <Action xsi:type="ShowTaskpane">
                        <SourceLocation resid="readTaskPaneUrl" />
                      </Action>
                    </Control>
                  </Group>
                </OfficeTab>
              </ExtensionPoint>
            </DesktopFormFactor>
          </Host>
        </Hosts>

        <Resources>
          <bt:Images>
            <!-- Green icon -->
            <bt:Image id="green-icon-16" DefaultValue="https://appcommandicons.blob.core.windows.net/images/taskpane_16x.png" />
            <bt:Image id="green-icon-32" DefaultValue="https://appcommandicons.blob.core.windows.net/images/taskpane_32x.png" />
            <bt:Image id="green-icon-80" DefaultValue="https://appcommandicons.blob.core.windows.net/images/taskpane_80x.png" />
          </bt:Images>
          <bt:Urls>
            <bt:Url id="readTaskPaneUrl" DefaultValue="~remoteAppUrl/AppRead/Home/Home.html" />
          </bt:Urls>
          <bt:ShortStrings>
            <bt:String id="groupLabel" DefaultValue="Identity Token Sample" />

            <!-- Read mode -->
            <bt:String id="paneReadButtonLabel" DefaultValue="Use Identity Token" />
            <bt:String id="paneReadSuperTipTitle" DefaultValue="Use Exchange Identity Token" />
          </bt:ShortStrings>
          <bt:LongStrings>
            <!-- Read mode -->
            <bt:String id="paneReadSuperTipDescription" DefaultValue="Your add-in loaded successfully. Click here to use the exchange identity token." />
          </bt:LongStrings>
        </Resources>  </VersionOverrides>

    </OfficeApp>

    Any ideas?

    Thanks,

    Karl

    Wednesday, March 1, 2017 10:37 PM