OfficeDev / generator-office

Yeoman generator for building Microsoft Office related projects.
https://www.npmjs.com/package/generator-office
MIT License
825 stars 208 forks source link

$HOST$ guidance not complete #713

Closed grippstick closed 1 year ago

grippstick commented 2 years ago

It says to replace the word $HOST$ with the name of the Office application. I only found one instance of $HOST$, but 2 more instances of Excel. I am using Outlook. I went ahead and replaced it in all 3 places. I am getting an error that says "Could not find the task 'Debug: Outlook Desktop'. It doesn't mention how the task should be configured. Lastly, I still get an 'Error processing "attach": connect ECONNREFUSED 127.0.0.1:9222'.

    {
        "name": "**Outlook** Desktop (Edge Legacy)",
        "type": "office-addin",
        "request": "attach",
        "url": "https://localhost:3000/taskpane.html?_host_Info=**Outlook**$Win32$16.01$en-US$$$$0",
        "port": 9222,
        "timeout": 600000,
        "webRoot": "${workspaceRoot}",
        "preLaunchTask": "Debug: **Outlook** Desktop",
        "postDebugTask": "Stop Debug"
      }

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Rick-Kirkham commented 2 years ago

I'll fix the documentation. For the other issues, I'm assigning to @millerds .

millerds commented 2 years ago

@grippstick . . . what did you do to correct for the missing tasks?

@Rick-Kirkham . . . that config block in the documentation includes references to preLaunchTask and postDegbugTask settings which require a tasks.json file with information about those tasks. You can remove them from the config block, but then you need to run the start and stop dev server commands manually. The other option is for people to also add configurations to a task.json file along with that launch.josn file updated.

grippstick commented 1 year ago

I gave up :(

On Wed, Mar 22, 2023, 1:55 PM Darren Miller @.***> wrote:

Closed #713 https://github.com/OfficeDev/generator-office/issues/713 as completed.

— Reply to this email directly, view it on GitHub https://github.com/OfficeDev/generator-office/issues/713#event-8820246050, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBPTOVF33J25Q6H5EWFC5TW5NDK7ANCNFSM5YONV7YA . You are receiving this because you were mentioned.Message ID: @.***>