Currently, I'm experiencing an error while working with awesomium mono. Though the classes are clearly in the reference (Awesomium.Mono), Visual Studio says they can not be found and that I need to add a reference to Awesomium.Core. When I do this it says the references that could not be found before are now conflicting. Anyone have any ideas?
All versions are version 1.7.5.1 .
I installed awesomium by simply installing the sdk (from the website before it went down for updating). After installing the sdk I simply went into Visual Studio and added the references.
I added the references simply by right clicking references and clicking add reference. To remove it I right clicked the reference and clicked Remove.
Error Message Before Adding Awesomium.Core:
The type 'WebSession' is defined in an assembly that is not referenced. You must add a reference to assembly 'Awesomium.Core, Version=1.7.5.1, Culture=neutral, PublicKeyToken=e1a0d7c8071a5214'.
Error message After adding Awesomium.Core:
The type 'WebSession' exists in both 'Awesomium.Core, Version=1.7.5.1, Culture=neutral, PublicKeyToken=e1a0d7c8071a5214' and 'Awesomium.Mono, Version=1.7.5.1, Culture=neutral, PublicKeyToken=759b17c73ad53213'
Example code that will give the error at line 10:
private void InitializeComponent()
{
//
// webControl1
//
this.webControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.webControl1.Location = new System.Drawing.Point(0, 0);
this.webControl1.Size = new System.Drawing.Size(1002, 502);
this.webControl1.TabIndex = 0;
this.webControl1.TargetURLChanged += new Awesomium.Core.UrlEventHandler(this.Awesomium_Windows_Forms_WebControl_TargetURLChanged);
}
private Awesomium.Windows.Forms.WebControl webControl1;