解决方法: 在vs2005安装目录下,找到devenv.exe 文件,然后右击属性,找到兼容性选项卡,选择兼容server 2003 sp2就可以了。 转载于:https://www.cnblogs.com/mayt/archive/2010/06/13/1757765.html