I'm using Visual Studio 2008 for C++. When compiling, Visual Studio compiles against the header files of the VC 9.0 libraries. However, there are different versions of this library available:
- v9.0.21022.8 (= RTM)
- v9.0.30729.17 (= SP1)
- v9.0.30729.4148 (= SP1 with security update)
I'd like to know whether it is possible to tell Visual Studio which version it should compile against.
これが重要だと私が考える理由は、アプリケーションのインストーラーが Microsoft Visual C++ 2008 Redistributable Package の正しいバージョンがインストールされていることを確認する必要があるためです。どうやら一部の Windows Update ( Visual Studio の更新ではない) でこの依存関係が変更される可能性があるため、この依存関係を制御できないように感じます。インストーラーが再頒布可能パッケージをアップグレードする際のオーバーヘッドを避けるために、同じバージョンを使い続けたいと思います。
この状況は私の以前の質問とは異なることに注意してください。それはリンク時間に関するものでした。hereで説明されているように、埋め込みマニフェスト ファイルに含まれるバージョンを制御する方法も探していません。