Reputation: 10499
I have a C#
WPF
application that uses a Visual C++
CRL assembly. Both project have as target framework .NET 4.0
. When I run the program on the computer with Visual Studio where I developed the project, as well as on my personal pc I do not have any kind of problem. But it can happen that in some computers, when the application calls the method where I call a method defined in the assembly, I get an unhandled exception:
Could not load file or assembly 'MyAssembly.dll' or one of its dependencies. The specified module could not be found.
Why do I get this problem and how can I fix it?
Upvotes: 0
Views: 141
Reputation: 7411
I guess you will need to install the related Visual C++ Redistributable. Sorry mixed it up with the sdk.
Upvotes: 1