I have an application that I had been developing in Visual Studio 2005 for some time. The application installed and ran just fine without including any redistributables. I recently converted it to Visual Studio 2008 and it still worked fine without needing anything else. Then I ran into some problems getting it to register a couple dll's after the build so I went a head and just started a new solution in 2008 and re-created it. Now for some reason it needs the vc++ 2008 redistributable even though no code changed and I set everything up the same way. What would cause it to do this? I'm sure there is something that I missed in the settings or something when I re made the solution that is causing it. I guess its not a big deal but I would be able to slim up my installer if I didn't have to include the redistributable.
Sometimes during the upgrade, the compiler switches get changed. Review your compiler settings and ensure that you are using the /MT switch for all your modules.
Use the Depends.exe dependency walker tool. Open your exe (and dlls) with it to find out what dlls they depend on. There are settings in the project properties that let you static link some of the libraries.
Sometimes during the upgrade, the compiler switches get changed. Review your compiler settings and ensure that you are using the /MT switch for all your modules.