App depending on wrong DLL version
-
Hi, I recently upgraded several MFC projects at work from Visual Studio 2005 to 2008. However, when I distribute the recompiled executables with the new Studio 2008 DLL's, I'm getting the "configuration error" that always comes up when dlls/dependencies/manifests are wrong/missing. Looking at the binary, I see that two of my apps are depending on a previous version of MFC90.dll, but the MFC.manifest file is pointing to the latest version. I'm thinking that this is causing the error, but my question is, how do I get my apps to compile/depend on the same version of the dll that the manifest is pointing to? Thanks!
KR
-
Hi, I recently upgraded several MFC projects at work from Visual Studio 2005 to 2008. However, when I distribute the recompiled executables with the new Studio 2008 DLL's, I'm getting the "configuration error" that always comes up when dlls/dependencies/manifests are wrong/missing. Looking at the binary, I see that two of my apps are depending on a previous version of MFC90.dll, but the MFC.manifest file is pointing to the latest version. I'm thinking that this is causing the error, but my question is, how do I get my apps to compile/depend on the same version of the dll that the manifest is pointing to? Thanks!
KR
Did you previously install a Beta version of Visual Studio 2008? Have you installed Microsoft Visual Studio 2008 Service Pack 1[^]? Microsoft has a tool to remove dependencies which were installed by pre-release Visual Studio 2008 Beta versions. It is available here: Visual Studio 2008 Service Pack Preparation Tool[^] Best Wishes, -David Delaune