SoBiT
SoBiT

Reputation: 408

Program only works on developer's machine

I developed an application with Visual Studio 2013 and it works fine. I can even move it to other directories, so all paths used in the application are relative!

Now unfortunately it only works on the developer's computer and not on others. So I guess, there is a missing .dll or something.

This is the error message I get:

>     Problem signature:
>       Problem Event Name: CLR20r3
>       Problem Signature 01:   MyApp.exe
>       Problem Signature 02:   1.0.0.0
>       Problem Signature 03:   53314d38
>       Problem Signature 04:   PresentationCore
>       Problem Signature 05:   4.0.30319.18408
>       Problem Signature 06:   52313210
>       Problem Signature 07:   1b7e
>       Problem Signature 08:   0
>       Problem Signature 09:   System.BadImageFormatException
>       OS Version: 6.1.7601.2.1.0.256.4
>       Locale ID:  2055
>       Additional Information 1:   0a9e
>       Additional Information 2:   0a9e372d3b4ad19135b953a78882e789
>       Additional Information 3:   0a9e
>       Additional Information 4:   0a9e372d3b4ad19135b953a78882e789

Upvotes: 0

Views: 280

Answers (2)

ak1
ak1

Reputation: 379

Please make sure that... 1- you set CopyLocal - true for the assemblies you are referencing in your program and those assemblies are available in current directory 2- you added a reference in your application that doesn't exists in GAC of the target machine. 3- If .net framework version is the same as you used to develop your application, there is a possibility that any un-managed component is referenced that is not working on target machine.

Upvotes: 1

Sam Axe
Sam Axe

Reputation: 33738

When I have run into this it typically is caused by the appropriate .NET framework not being installed.

Upvotes: 1

Related Questions