Excel desktop version refuses to load and parse CF metadata file bigger than 1MB #4808
Labels
Area: Excel
Issue related to Excel add-ins
Needs: author feedback
Waiting for author (creator) of Issue to provide more info
Needs: triage 🔍
New issue, needs PM on rotation to triage ASAP
Status: no recent activity
Issue or PR is stale (no recent activity)
Provide required information needed to triage your issue
I am converting a VSTO Excel plugin to use the new JS API. The current plugin has 500+ UDFs that need to be converted into custom functions. I have created a functions.json CF metadata file and have run into the problem that the desktop version of Excel refuses to load this functions.json file if it exceeds 1 MB. The same build works in web version of Excel without issues.
Your Environment
Expected behavior
Add-in should be loaded successfully even its CF metadata file is bigger than 1 MB
Current behavior
Add-in loading failed with this error:

Looks like Excel doesn't even try to parse the CF metadata file if its size is bigger than 1 MB.
No
[Metadata] [Parsing] [Begin]
records appear inOfficeAddins.log
file.Steps to reproduce
src/functions/functions.ts
Provide additional details
More details and steps to reproduce here: OfficeDev/Excel-Custom-Functions#422
The text was updated successfully, but these errors were encountered: