generator-office icon indicating copy to clipboard operation
generator-office copied to clipboard

$HOST$ guidance not complete

Open grippstick opened this issue 3 years ago • 2 comments

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.

grippstick avatar Feb 15 '22 22:02 grippstick

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

Rick-Kirkham avatar Feb 16 '22 00:02 Rick-Kirkham

@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.

millerds avatar Jun 10 '22 18:06 millerds

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: @.***>

grippstick avatar Mar 22 '23 20:03 grippstick