> When trying to deploy my C#/C++/CLI application on a Win XP Pro SP2 with
> .NET
[quoted text clipped - 5 lines]
> module
> warning. And when I run the application I get the following error:
That's normal with MPR.DLL, and not an error.
> Failed to load module from assembly C:\Documents and
> Settings\Desktop\070327\MyCPPCLIWrapper.dll. Error was:
[quoted text clipped - 7 lines]
> The MPR.DLL exists in the C:\WINDOWS\system32 folder. What could be the
> problem?
MPR.DLL is not the problem. Probably you are compiling with VC++ 2005 SP1,
but the DLLs on the computer are from VC++ 2005 Gold (because the .NET 2.0
framework includes the Gold DLLs). Run the version of vc_redist that was
provided with SP1, your problems will go away.