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
{
CompletionWindow completionWindow;
IList<ICompletionData> data;
bool docIsdirty = false;
OmegaB thegame;
private ElementHost host;
ICSharpCode.AvalonEdit.TextEditor textedit;
public F_Ide(OmegaB game)
{
this.thegame = game;
InitializeComponent();
host = new ElementHost();
host.Dock = DockStyle.Fill;
idepanel.Controls.Add(host);
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
thanks
Bill