Can anyone help. All my code was working. I think this error is a simple wrong path type error. but i didnt change anything. I copied a backup over my the code (a backup that I know was working) but I get this same error. I am so frustrated! what does this error mean?
Did I move a file by mistake?
Now i get this error:
'Set property 'System.Windows.ResourceDictionary.Source' threw an exception.' Line number '6' and line position '4'.
the inner message is:
Could not load file or assembly 'ICSharpCode.AvalonEdit, Culture=neutral' or one of its dependencies. The system cannot find the file specified.
(what file is it looking for?)
My code looks like this
public partial class F_Ide : Form
bool docIsdirty = false;
private ElementHost host;
public F_Ide(OmegaB game)
this.thegame = game;
host = new ElementHost();
host.Dock = DockStyle.Fill;
textedit = new ICSharpCode.AvalonEdit.TextEditor();
textedit.Height = idepanel.Height;
textedit.Width = idepanel.Width;
textedit.ShowLineNumbers = true;
host.Child = textedit;
I am at my wits end. I restored what I though was working code, (the build's exe runs) now I am stuck