你先清理下你的项目试下,看起来有些像是你有多个项目互相引用,然后其中一个项目没有生成成功,所以启动的项目引用的还是那个项目最后一次成功生成的dll造成的,或者你也可以每个项目单独生成以下,看下是哪个项目生成失败了

解决方案 »

  1.   

    感谢回复。是有引用一个自定义控件的项目。但是那个项目没有问题。我清理了一下项目,重新生成了一个解决方案。但是没用。
    我看到网上有这样的解决方法。
    Backup the boot.ini file. Then, put the /3GB switch in your boot.ini For more information on the /3GB option, please check the following article: Memory Support and Windows Operating Systems: http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx 
    Make DEVENV large address aware.
    Open up a VS 2005 command prompt
    Change directory to the Microsoft Visual Studio 8\Common7\IDE directory.
    Backup devenv.exe file.
    Type and execute the following command line: "editbin /LARGEADDRESSAWARE devenv.exe"
    Reboot Windows and Build.
    但是我没找到boot.ini文件