Comments (3)
It is not what I see (it loads on my machine and able to stop on a breakpoint), technically I think @yhayak872 is right and the URL in the manifest should be index.html
The unmodified project works however on my machine (I live streamed it on YouTube so if you have a couple of hours you can look back what I did 😉).
Out of the box it did work for me:
The URL in the manifest.xml will reflect on runtime though like this:
After changing the manifest to index.html you will get this:
Either way in both scenarios I see the page to be resolved to https:.//localhost:44340 (as defined in the VS settings)
My guess is that .NET Core is resolving the URL to index.html, not sure why this is not happening with @yhayak872
(maybe the issue is related to the fact that the URL sometimes is given ending on $$$$3 ?)
The livestream where I debugged this can be found here:
Live stream here
from office-add-in-samples.
Thank you to report many information and suggestions. Your live stream was very helpful for me.
After your report, I checked again my project and executed.
Curiously, My Project worked fine too with original URL path ( it is "~remoteAppUrl/taskpane.html" ).
But I can not understand why it did not work before because I have not modified anything but above URL.
After my report, my machine had two updates for .NET- flamework ( KB4576484, KB45707323 ) and these may be related this.
.NET core resolves the requested URL to index.html as you say, therefor any URL was working as long as the file name doesn't match. ( ex: "~remoteAppUrl/anything.html" or "~remoteAppUrl/")
Thanks a lot.
-PS-
This is not related to above but I can not set breakpoint well on Apps.js as you did.
VS said "the breakpoint will not currently be hit. ... " like this.
I'm checking continuously to resolve this. (I'll ask again this to other proper forum.)
Best regard.
from office-add-in-samples.
This is a post-report of this issue.
Repairing my Visual Studio resolved the breakpoint issue.
Perhaps the first problem of not loading the add-in module is for the same reason too.
My Visual Studio was updated several times while debugging this add-in project, so it's possible that Visual Studio wasn't working properly.
Best regard.
from office-add-in-samples.
Related Issues (20)
- Uncaught (in promise): InvalidRibbonDefinition: InvalidRibbonDefinition RichApi.Error: InvalidRibbonDefinition HOT 1
- Missing scopes (scp) in Bearer token from Azure AD HOT 2
- Unable to sideload the example HOT 3
- Word Addin in NET CORE 7.0 with MVC HOT 9
- doc: broken image links on Readme.md of hello-world HOT 2
- Word Add-in in NET CORE 8 with blazor HOT 3
- Request for Office Addin Sample for Blazor with SSO integration HOT 5
- Inquiry Regarding Suitable Framework for Office Add-ins Development HOT 3
- Javascript exception on initial attempt at running Office-Add-in-ASPNET-SSO sample HOT 10
- Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize HOT 1
- Need admin privs to npx install, no? HOT 2
- Outlook event-based activation examples are immature HOT 1
- Converting Outlook VSTO add-in to web add-in HOT 5
- Example works only in OWA HOT 5
- Office-Add-in-NodeJS-SSO Example fails to claim scope HOT 1
- Sample: Outlook-Add-in-SSO-NAA HOT 9
- How to debug against outlook online account with MFA? HOT 4
- Not able to display Html HOT 5
- Error when using non-localhost as redirect URI. HOT 6
- How to create Word Add-in SplitButton Control? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-add-in-samples.