Unable to Get Custom User React Control to be integrated in WPF Project

0

I was trying to get a React Native Component to be run in WPF Application.

I followed the steps from here. Microsoft TechCommunity

I am getting the following exception when I load the React In Custom Control.

I doubt that ReactApp.Component project is unable to get the handle of the outer React project.

Code

InstanceSettings settings = new InstanceSettings();
settings.UseLiveReload = true;
settings.UseWebDebugger = true;
settings.EnableDeveloperMenu = true;
var instance = Instance.Create(JSFILENAME);
instance.Start(settings); // THis line is giving exception

Error

System.Runtime.InteropServices.SEHException
HResult=0x80004005
Message=External component has thrown an exception.
Source=<Cannot evaluate the exception source>
StackTrace:
<Cannot evaluate the exception stack trace>
react-native
uwp
react-native-windows
asked on Stack Overflow May 9, 2020 by ahmed

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0