-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to debug Outlook add-in on Mac because: Sideload to the Outlook app is not supported.
#667
Comments
I've also tried following: This gives me a different error (specific to outlook): > [email protected] debug /Users/<my-user-name>/frontend/apps/outlook
> pnpm exec office-addin-debugging start ./dist/manifest.xml "--dev-server" "pnpm" "outlook" "serve" "--dev-server-port" "8082"
Error: Unable to start debugging.
Error: The current platform is not supported: outlook |
Trying with yeoman generatorI wanted to see if it works with a yeoman generated project, so followed the instructions from: https://github.com/OfficeDev/generator-office Successfully generated my project Congratulations! Your add-in has been created! Your next steps:
1. Go the directory where your project was created:
cd /Users/<my-user-name>/outlook-teams
2. Start the local web server and sideload the add-in:
npm start
3. Open the project in VS Code:
code .
For more information, visit http://code.visualstudio.com.
Please visit https://docs.microsoft.com/office/dev/add-ins for more information about Office Add-ins.
Please visit https://docs.microsoft.com/office/dev/add-ins/outlook/sideload-outlook-add-ins-for-testing for more information about Outlook sideloading. Error: Sideload to the Outlook app is not supported.It generated my project and I tried running There is a issue about converting the JSON to XML on Mac[1], so I converted it manually to XML and got the following error about sideloading not being supported on outlook for mac: > [email protected] start
> office-addin-debugging start manifest/manifest.xml
Debugging is being started...
App type: desktop
The dev server is already running on port 3000.
Sideloading the Office Add-in...
Error: Unable to start debugging.
Error: Unable to sideload the Office Add-in.
Error: Sideload to the Outlook app is not supported. Attachment: JSON > XML transformation error on mac[1] <my-user-name>@MBP outlook-teams % npm start
> [email protected] start
> office-addin-debugging start manifest/manifest.json
Debugging is being started...
App type: desktop
The developer certificates have been generated in /Users/<my-user-name>/.office-addin-dev-certs
Installing CA certificate "Developer CA for Microsoft Office Add-ins"...
Password:
You now have trusted access to https://localhost.
Certificate: /Users/<my-user-name>/.office-addin-dev-certs/localhost.crt
Key: /Users/<my-user-name>/.office-addin-dev-certs/localhost.key
Starting the dev server... (webpack serve --mode development)
The dev server is running on port 3000. Process id: 14748
Sideloading the Office Add-in...
/bin/sh: dotnet: command not found
Error: Unable to start debugging.
Error: Unable to sideload the Office Add-in.
Error: .Net 5 or greater is required for json manifests. It looks like the error is thrown inside the
Discovering the
|
Looks like you've got a couple things going on here . . . First the original issue of loading in mac outlook. As mentioned in #569 (comment) the work for automatic sideloading in mac outlook was not done and so it has to be manually sideloaded (https://docs.microsoft.com/en-us/office/dev/add-ins/outlook/sideload-outlook-add-ins-for-testing . . . which was noted in the yo office output). It is something on our backlog. Second . . . you are using the developer preview template for using a teams manifest (json based) which is a prerelease version and only works on Windows. The documentation (https://docs.microsoft.com/en-us/office/dev/add-ins/quickstarts/outlook-quickstart-json-manifest) notes this. If you want to develop on mac you'll need to use a different template (the basic template is the most similar to the teams manifest preview) and do the manual sideloading. |
Prerequisites
Please answer the following questions before submitting an issue.
Expected behavior
When running:
npm build:dev
, thennpx office-addin-debugging start ./dist/manifest.xml
I expect the script to start outlook and sideload my add-in
Current behavior
After running the dcommand, it logs errors (see Failure logs below) to the terminal window.
Steps to Reproduce
Prerequesites
How to reproduce
cd outlook-reproduction
npm install -g pnpm
pnpm i
outlook
's/dist
folder.pnpm outlook build:dev
pnpm outlook debug
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Failure Logs
The text was updated successfully, but these errors were encountered: