how to deploy both x86 and x64 MSVCR120 to local application folder for C# project?

349 Views Asked by At

My ultimate purpose is to deploy my .NET application with clickonce and copy those runtime dlls (MSVCR, MSVCP) to my local application folder. This is needed for NLua integration into my .NET app.

That way the user doesn't need to install using Microsoft redistributable package, they do not have admin right to install that.

The possible method that I can think of now is to have both x86 and x64 dlls deployed somewhere with separate folders and during application launch, detect the user platform and copy the right dlls to actual app/bin folder. Will like to avoid doing this if some known method will work on this case.

appreciate any help given.

0

There are 0 best solutions below