Home > Net >  WPF its environment error, card for 5 days, for help
WPF its environment error, card for 5 days, for help

Time:09-19


Can be performed for the first time, vs is turned off, and then open the appear this problem, tried a lot of methods, no matter use, always like this,

CodePudding user response:

References, its error

CodePudding user response:

After 10 days, and finally solved the share, for all its environmental problems
1. My configuration vs2015 activity environment any x86 CPU target environment. The.net 4.0
2. Download version 1.0.6 openwebkitsharp from huget management package,
3. After successful installation, wrapped packages in the lib folder content all copies to run the debug,
4. Run vs, calls will be wrong, because the biggest problem, is a JSCore lib folder. The DLL file, it is not loaded successfully, in my understanding,
MainWindow win=new MainWindow ();
Win the ShowDialog ();
Above this code is invoked to JSCore. The thing in the DLL files, but couldn't show, I am also surprise detected generating code - to the solution of routine analysis - the selection of window pop up, this time will find call JSCore under Windows. Can't find the DLL file,
Method 5. So I do, it is mandatory to invoke JSCore. DLL let he can match on
Xaml code referenced in the XMLNS: wf="CLR namespace: its; The assembly=OpenWebKitSharp "




In the xaml. Cs
WebKitBrowser web;
Web=webbrowser1;
Web. Navigate (" www.baidu.com "); Because web. Navigate the method invocation JSCore. DLL files, the execution, the DLL file is quoted on the
At this time to open its wouldn't make a mistake again,
With its problems can be consulting my qq 276999030

Now the mainstream embedded with cefSharp I also want to keep up with the pace

CodePudding user response:

Which son of bitch does my posts? !
  •  Tags:  
  • C#
  • Related