SoftTimur
SoftTimur

Reputation: 5510

Cannot find a manifest file

I put all the source files (xml manifest, JS files, etc.) of an Excel add-in to a folder \\Mac\Home\. In Excel for Desktop, the manifest file appears in SHARED FOLDER.

To learn how to implement Add-in Commands, I create another Excel add-in project by Visual Studio, it generates many files including an xml file. I make SourceLocation pointed to the right html file (i.e., \\Mac\Home\Home.html). Then I am able to debug the project from Visual Studio, which opens a workbook in Excel. And there is indeed an add-in command.

So I copy the xml file which enables add-in command to the folder \\Mac\Home and replace my initial manifest. However, this time, Excel for Windows could not find the manifest in SHARED FOLDER.

Does anyone know what's wrong there?

Edit 1: As I write in the comment, if I remove the part VersionOverrides, the manifest appears in SHARED FOLDER. So the problem comes from the content of VersionOverrides.

I copied Button16x16.png, Button32x32.png and Button80x80.png to \\Mac\Home\Images\, and the folder Functions to \\Mac\Home\Functions\. Then I replaced everywhere ~remoteAppUrl by \\Mac\Home to generate this new xml file. It still does not work.

Upvotes: 2

Views: 2429

Answers (1)

Michael Saunders
Michael Saunders

Reputation: 2668

Troubleshooting manifest issues:

  1. Modify the id number (guid) in the manifest.
  2. Make sure the manifest follows the schema exactly, including correct ordering of elements.
  3. Verify that Excel is pointing to the correct Shared Folder location; check Options > Trust Center > Trusted Add-In Catalogs and verify that "show in menu" is selected
  4. Restart Excel
  5. Click the Refresh button in the Insert Add-Ins dialog

Upvotes: 2

Related Questions