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)
- Outlook Web Add-in Blazor Example for OnMessageSend Event HOT 6
- Excel does not launch when running the sample HOT 11
- idMSOs in PowerPoint? HOT 4
- How can I get access token for multiple resources based on sample Office-Add-in-Microsoft-Graph-React HOT 16
- how to uninstall the Web-Addin in Excel-Online if installed the way by uploading an manifest.xml HOT 1
- excel-insert-file not working as expected HOT 3
- How can we test outlook add-in in Visual Studio HOT 1
- Azure CLI not found when running npm run configure-sso HOT 10
- Office-Add-in-NodeJS-SSO - change root url HOT 1
- Install Addin fails HOT 3
- No Excel ContentApp sample found which works with Microsoft 365 integrated app publishing HOT 2
- Sideloading Excel ContentApp on Excel for Mac does not work HOT 2
- Add-In pop up could not be started. Error 404. HOT 1
- Can not sign-in with msaljs popup on Safari browser based on Samples/auth/Office-Add-in-Microsoft-Graph-React HOT 4
- Better way to handle unidentified image URL with WebImageCellValue HOT 2
- 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
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.