Problem with running c# application on another PC
- by draghia-aurelian
I wrote a Windows Form Application in C# and it works well for my computer. But on another PC, an error occurs when i try to do some stuff.
code 1
private void rUNToolStripMenuItem_Click(object sender, EventArgs e)
{
MessageBox.Show("I'm in rUNToolStripMenuItem_Click!");
...
}
code 2
private void dataPositionToolStripMenuItem_Click(object sender, EventArgs e)
{
MessageBox.Show("I'm in dataPositionToolStripMenuItem_Click!");
...
}
Running on my computer:
code1:
MessageBox appears!
code2:
MessageBox appears!
Running on another computer:
code1:
MessageBox doesn't appear and the error happens!
code2:
MessageBox appears!
The error is:
Method not found: "Void Microsoft.CSharp.RuntimeBinder.CSharpGetMemberBider..ctor(System.String.System.Type, System.Collections.Generic.IEnumerable'1)'.
This is the PrintScreen with error:
Please help me to solve the problem!