Problem with running c# application on another PC

Posted by draghia-aurelian on Stack Overflow See other posts from Stack Overflow or by draghia-aurelian
Published on 2010-04-29T19:40:49Z Indexed on 2010/04/29 19:47 UTC
Read the original article Hit count: 315

Filed under:
|

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:
Screen Capture

Please help me to solve the problem!

© Stack Overflow or respective owner

Related posts about c#

Related posts about runtime