Welcome Guest Search | Active Topics | Sign In | Register

WebControl DnD FileNotFoundException Options
usyber
Posted: Thursday, November 12, 2015 3:37:39 AM
Rank: Newbie
Groups: Member

Joined: 11/12/2015
Posts: 9
Hi EO forum,

currently I evaluate the EO.WebBrowser Control for a .NET 2.0 WinForm application. When I try to drag and drop the control in VS 2010 designer from the toolbox into my user control I get the following error:

"FileNotFoundException: File or Assembly 'EO.Base' or one dependency not found"

I have EO.Base, EO.WebBwrowser and EO.WebEngine assmblies referenced within my project (Base, WebBrowser, WebEngine). I also copied all assemblies to the output directory.

When I add the control after the InitializeComponent call the control will be displayed correctly.

Quote:

var webControl = new WebControl();
var webView = new WebView();
webControl.WebView = webView;

webView.Url = "http://www.essentialobjects.com";
webControl.Dock= DockStyle.Fill;
webPanel.Controls.Add(webControl);


Is it possible to drop the control within the VS designer? Do I miss something?

best regards,
Uli
eo_support
Posted: Thursday, November 12, 2015 10:15:29 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Please check whether you are using the latest build. If you are already using the latest build, you can run "GAC Tools" and add all DLLs into GAC, then restart Visual Studio and see if it works for you.

Thanks!
usyber
Posted: Friday, November 13, 2015 1:09:20 AM
Rank: Newbie
Groups: Member

Joined: 11/12/2015
Posts: 9
Thank's a lot, that has solved the problem.



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.