There have been attempts to establish xulrunner and Awersomium. Xulrunner installed this instruction here - http://habrahabr.ru/post/170015/

Awersomium installed the file from offsite, it is self-extracting. Eventually:

Xulrunner does not start, throws an Exception with the following message:

Could not load file or assembly "Skybound.Gecko, Version = 1.9.1.0, Culture = neutral, PublicKeyToken = 3209ac31600d1857" or one of their dependencies. An attempt was made to download a program that has the wrong format.

Changed in the project settings version. NET to 2.0 - the same. On the form panel1 panel and button with code:

string path = Application.StartupPath + @"\\FF 1.9\\"; //Путь к распакованной и переименованной папке bin из архива SDK Skybound.Gecko.Xpcom.Initialize(path); Skybound.Gecko.GeckoWebBrowser webBrowser1 = new Skybound.Gecko.GeckoWebBrowser(); webBrowser1.Parent = this.panel1; webBrowser1.Dock = DockStyle.Fill; string u = "http://www.ya.ru"; //Загрузка выбранной страницы webBrowser1.Navigate(u); 

Awersomium was added to the elements panel, but when you try to throw a WebControl on the form, it gives an error, which is in the screenshot. enter image description here

I can not understand what the problem is, help.

At the moment, the goal of installing another browser is the operation of each individual browser object through its proxy, if there are any solutions, suggest.

    1 answer 1

    An attempt was made to download a program that has the wrong format.

    This is an error due to an attempt to load an assembly compiled for another platform — another bit. Those. or an assembly for x86, and you are trying to load it into a 64-bit application, or vice versa.

    Open the properties of your project tab Build.

    Find the Prefer 32-Bit checkbox there. It may not be in the old version of the studio. If there is - remove it.

    Then find the same dropdown setting Platform Target. Most likely it is exhibited in Any CPU. Change to x86. Try running. If it falls, change to x64. One of the two options should earn.

    • Thanks a lot, really earned! What about Awersomium? - Andrei Tsapenko
    • @ Andrei Tsapenko probably also lacks some kind of assembly. go through the wiki.awesomium.net/getting-started/setting-up-on-windows.html manual - there, besides just the reference, you need to add another pack of native dll - PashaPash