I can't install sideloaded wpf app on another computer...

c00012 716 Reputation points


I've wpf app to publish it into windows store.
so, I packaged app by sideloading and installed it my desktop computer for Test.
I found no issue on the desktop. it works fine as follows:
To test it on another computer, I copied it to my usb and installed it on the laptop.

laptop's spec:

Processor: Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz 2.60 GHz
RAM: 8.00 GB (7.89 GB usable)

but when I clicked "Help" button after installing it on the laptop, the app shut down.
I don't where to start to fix it.
if someone give me advice to fix it, I'd be very appreciated.



FYI, the code for "Help" button is:

    private async void HelpNavi()  
        Views.HelpWeb hw = new Views.HelpWeb();  
        await hw.webView.EnsureCoreWebView2Async(null);  

Update > I introduced try... catch block to above code and got a following error message:

if anyone give an advice about what to do to fix this error, I'd be very appreciated.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,685 questions
{count} votes

0 additional answers

Sort by: Most helpful