After install SP1, the version number in the generated manifest is '9.0.21022.8' for the CRT and MFC. However the version in the redist directory is '9.0.30729.1'.
Executables distributed with side-by-side dlls using the redist now fail to run. (This used to work in VS2008 with the Feature Pack)
Note: If you change the project to not embed the manifest, and then manually change the version number in the manifest after compilation, the resulting exe will run with the redist dlls.
VC9 SP1 generates manifests with the wrong version number
最新推荐文章于 2016-07-08 13:56:36 发布
It's also exist in vs2008 feature pack.
The feature pack's version is 9.00.30304.0, and the myexe.exe's manifest is 9.0.21022.8.
There are 3 workaround solutions:
1, Change