C++ and Windows , CRT
I am developing application application using C++ VS 2008. Now I need to either install respective MSM or install redist on customer machine to get this working.
Is there any way in which I can jus开发者_C百科t copy those CRT dlls and get the application running.
Private assembly option seems to be complicate.
If you just depend on the CRT, then yes you can simply XCOPY deploy it as a private assembly and it will work just fine. Put it in the same folder as your application.
Doing this will prevent your application from taking advantage of servicing releases of the CRT though. This may or may not be an issue for you.
Take a look at this Microsoft article:
How to: Deploy using XCopy
精彩评论