BoxedApp Blog

BoxedApp: Tips'n'Tricks, Examples, Use Cases etc.

C++ / CLI – How To Use Managed C++ DLL when Microsoft Visual C++ Redistributable is not installed?


If your .NET application uses components written in Managed C++, you face the necessity to distribute Microsoft Visual C++ Redistributable with it. If one attempts to launch such application in a system that doesn’t have the corresponding Microsoft Visual C++ Redistributable installed, the user will get a warning “This application has failed to start because the application configuration is incorrect”. Why this happens, and can that be done without installing Microsoft Visual C++ Redistributable?