Comments (11)
Hi @Pete44ADF, which sample are you trying to run? I'll take a look. thanks!
from office-add-in-samples.
from office-add-in-samples.
Hi @Pete44ADF, the Excel Blazor add-in sample opens for me in Excel on Windows. There are a couple things you can try to clear this up.
- Clear the Office cache. Could be something is in the developer cache that is confusing Excel.
- Debug your add-in with runtime logging
In the second case you can check the log file to see if the add-in is failing to load, and there should be some diagnostic information about what is happening.
Thanks!
David
from office-add-in-samples.
This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!
from office-add-in-samples.
This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!
from office-add-in-samples.
Try the Clear Cache KO
Need to test the Debug
from office-add-in-samples.
Tried to launch the add-in. It launches an Edge session on https://localhost:7287/
With the text Blazor Office JS API demo + logo and Loading...
In the DOS windows I get an error message "'DotnetDebugger.setDebuggerProperty'" wasn't found
from office-add-in-samples.
Hello,
I did the following actions:
Try to activate Debug with runtime.
Try to repair and update the VS2022 setup.
Try to change the .NET Target to version 7.0
Still got the "'DotnetDebugger.setDebuggerProperty'" wasn't found error message
Upgrade nugget pacckages
Microsoft.AspNetCore.Components.WebAssembly and Microsoft.JSInterop.WebAssembly to version 7.0 no more error messages
but Excel is still not launched.
Could it be linked to my Office version?
Microsoft 365 Apps for Enterprise
Thanks for your help.
Pierre
from office-add-in-samples.
I also see the 'DotnetDebugger.setDebuggerProperty' error, so I don't think that is the problem.
Can you make sure both projects are set to start?
- Open the solution, then in Solution Explorer, right-click the solution and choose Properties.
- In the property pages dialog, under Startup Project, ensure Multiple startup projects is selected. Both excel-blazor-sideloader and BlazorAddIn should be selected.
If that is set properly, another option is to see if you can open Excel yourself.
- Run the project from Visual Studio 2022 (and you should see the web page open indicating the project is running.)
- Open Excel.
- On the Home tab, select Add-ins. You should see the Blazor add-in listed there (if it sideloaded correctly.)
Thanks!
David
from office-add-in-samples.
from office-add-in-samples.
The problem was linked to the solution configuration.
- Open the solution, then in Solution Explorer, right-click the solution and choose Properties.
- In the property pages dialog, under Startup Project, ensure Multiple startup projects is selected. Both excel-blazor-sideloader and BlazorAddIn should be selected.
Thanks a lot @davidchesnut!
from office-add-in-samples.
Related Issues (20)
- 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 8
- How to create Word Add-in SplitButton Control? HOT 1
- Office.AutoShowTaskpaneWithDocument with shared runtime? HOT 6
- Outlook-Add-in-SSO-NAA: Questions on usage on mobile devices HOT 2
- Can we implement NAA-SSO for spam-addins?
- Hello World add-in doesn't work in desktop Outlook 2016 HOT 4
- In SSO fallback, getAccessTokenMSAL() returns a different result than Office.auth.getAccessToken()
- In SSO Fallback, getAccessTokenMSAL() returns a different user than Office.auth.getAccessToken() HOT 7
- The Spam Reporting example uses Office.onReady, which will not work on Classic Outlook HOT 3
- Edit the Existing mail HOT 8
- is there a equation support? HOT 1
- Outlook Add-In SSO NAA example contains code that isn't in the types. HOT 2
- Outlook SSO NAA in pure JS without node.js HOT 3
- Excel custom function on blazoraddin technique works locally but not when published on AZURE HOT 2
- Outlook-Add-in-SSO-NAA worked only once. I can't get any token anymore 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.