Code Monkey home page Code Monkey logo

Comments (11)

davidchesnut avatar davidchesnut commented on July 22, 2024

Hi @Pete44ADF, which sample are you trying to run? I'll take a look. thanks!

from office-add-in-samples.

Pete44ADF avatar Pete44ADF commented on July 22, 2024

from office-add-in-samples.

davidchesnut avatar davidchesnut commented on July 22, 2024

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.

  1. Clear the Office cache. Could be something is in the developer cache that is confusing Excel.
  2. 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.

microsoft-github-policy-service avatar microsoft-github-policy-service commented on July 22, 2024

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.

microsoft-github-policy-service avatar microsoft-github-policy-service commented on July 22, 2024

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.

Pete44ADF avatar Pete44ADF commented on July 22, 2024

Try the Clear Cache KO
Need to test the Debug

from office-add-in-samples.

Pete44ADF avatar Pete44ADF commented on July 22, 2024

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.

Pete44ADF avatar Pete44ADF commented on July 22, 2024

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.

davidchesnut avatar davidchesnut commented on July 22, 2024

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?

  1. Open the solution, then in Solution Explorer, right-click the solution and choose Properties.
  2. 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.

  1. Run the project from Visual Studio 2022 (and you should see the web page open indicating the project is running.)
  2. Open Excel.
  3. 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.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.