Creating new project in visual studio - Excel Web Add-in - Trying to starting project = The program 'excel.exe' has exited with code -1 (0xffffffff)


Yesterday this loaded

I have followed the instructions here:

I downloaded and installed visual studio with all the required addins.

When I press F5 to start it did work and loaded in excel yesterday.

Today it won't load

On restarting my machine today, it won't work I have followed the guidelines here on debugging too:

I have run the following again to ensure in case it needed resetting after reloading visual studio.

Get-AppxPackage Microsoft.Win32WebViewHost
Name              : Microsoft.Win32WebViewHost
Publisher         : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture      : Neutral
ResourceId        : neutral
Version           : 10.0.18362.449
PackageFullName   : Microsoft.Win32WebViewHost_10.0.18362.449_neutral_neutral_cw5n1h2txyewy
InstallLocation   : C:\Windows\SystemApps\Microsoft.Win32WebViewHost_cw5n1h2txyewy
IsFramework       : False
PackageFamilyName : Microsoft.Win32WebViewHost_cw5n1h2txyewy
PublisherId       : cw5n1h2txyewy
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
NonRemovable      : True
IsPartiallyStaged : False
SignatureKind     : System
Status            : Ok

Set debug

setx JS_DEBUG Microsoft.Win32WebViewHost_10.0.18362.449_neutral_neutral_cw5n1h2txyewy

It still does not work. I get dialog error with following:

One or more errors occured.

Failed to laucnh debug adapter. Additional information may be available in the output window.

the operation was cancelled.

In output window

The program 'excel.exe' has exited with code -1 (0xffffffff).
The program '[19724] iisexpress.exe' has exited with code 0 (0x0).
asked on Stack Overflow Dec 8, 2020 by Steve Tomlin

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0