将vs 2003 的项目移植到vs 2005,其中有一个是C++的project。在安装完成后启动应用程序出现一个错误: System.IO.FileLoadException: Could not load file or assembly 'PropSheetHost, Version=0.0.0.0, Culture=neutral, PublicKeyToken=1f9cb67793557b0b' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
File name: 'PropSheetHost, Version=0.0.0.0, Culture=neutral, PublicKeyToken=1f9cb67793557b0b' ---> System.Runtime.InteropServices.COMException (0x800736B1): This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)。
但是在debug的时候程序能正常工作。