Shared Runtime not working gives Error in Office Word JS Add-in

フนӥăіḑ Ṁ' 20 Reputation points
2023-10-11T10:30:39.3533333+00:00

when I this Shared Runtime Requirements in my manifest file my add-in gives Error and not working. I am using this code. When I remove Requirements from my manifest then my add-in is working.

runtime

runtime error

 <Requirements>
      <Sets DefaultMinVersion="1.1">
        <Set Name="SharedRuntime" MinVersion="1.1"/>
      </Sets>
   </Requirements>
// and

    <Runtimes>
       <Runtime resid="contoso.taskpane.url" lifetime="long"></Runtime>
    </Runtimes>
Microsoft 365 and Office Development Office JavaScript API
Microsoft 365 and Office Development Other
Microsoft 365 and Office Install, redeem, activate For business Windows
Microsoft 365 and Office Word For business Windows
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.