-
Notifications
You must be signed in to change notification settings - Fork 3
Getting started instructions #6
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
Comments
I've just added a short instruction (see commit above). Could you verify if it works for you @LeonGorbaty1 ? |
@manuelsidler it mostly worked THANK YOU !!! I had a few issues, consider adding the following:
I also got a JSException here THANKS AGAIN !! |
Hi, I still experience problem with my Add-in. When I run Word I can't see both host and name - only "Not in Office.". It looks there is a problem with connection between Word and Add-in. When I put a break point in this line "await JSRuntime.InvokeVoidAsync("wordWrapper.saveDocumentMetadata", _documentMetadata);" in OnAfterRenderAsync and turn on Add-in in Word the debugging doesn't stop... I would be grateful for any idea or tip. Many thanks in advance. |
Which .NET Core version are you using? |
Many thanks for reply. I'm using .Net Core 3.1 |
Regarding to my previous comment. Any idea what can be wrong with my add-in? |
Sorry I haven't been able to take a look into your problem. I'll try to find some time this week. Do you see any errors in the Edge DevTools console? https://docs.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-f12-developer-tools-on-windows-10#debug-using-microsoft-edge-devtools |
Hi, apologize for delay. I've been extremely busy for last couple of weeks. And exception which I can see in Visual Studio: |
Based on your screenshot, it seems like you try to run the add-in directly in a browser instead of the office application? Could you try to sideload your add-in in Office based on the official documentation? |
With Office add-ins, it's not possible to hit F5 and debug straight away. If you want to debug the client-side code, you have to attach the Edge developer tools to your add-in as described here: You can also try to attach Visual Studio directly to your Office add-in as described here: |
Did you find a solution? Same problem here... |
Please add a readme or some text at the front of the repo with steps to test the add-in in Word?
The text was updated successfully, but these errors were encountered: