vs2015 新建项目时提示Object reference not set to an instance of an object该怎么解决呢

参考http://blog.csdn.net/u014265347/article/details/54972611进行VS2015与QT5.8的配置,安装的是企业版VS2015

配置完成后在VS2015中新建项目时提示Object reference not set to an instance of an object即未将对象引用设置到对象的运行实例。

vs2015 新建项目时提示Object reference not set to an instance of an object该怎么解决呢_第1张图片


http://blog.csdn.net/huutu/article/details/52595568 和 http://bbs.csdn.net/topics/391834073

进行了注册列表的修改。看到有人说需要升级IE到最新版本,我检查了自己电脑IE的版本,是11,所以没有做升级。
设置完重启VS2015,新建可以执行,但是新建完项目中出现:

vs2015 新建项目时提示Object reference not set to an instance of an object该怎么解决呢_第2张图片

之后出现错误 : fatal error C1083: Cannot open include file: 'QtGuiApplication1.h': No such file or directory。
vs2015 新建项目时提示Object reference not set to an instance of an object该怎么解决呢_第3张图片
也就是说项目本该生成的.h 和.cpp文件均没有生成
参考http://jingyan.baidu.com/article/8ebacdf0167b2249f65cd5eb.html
进行include和lib目录添加,还是不能解决
最终还是选择了重装VS2015,在http://itellyou.cn/下载了 Visual Studio Enterprise 2015 with Update 3 (x86 and x64) - DVD (English)  
重新按照http://blog.csdn.net/u014265347/article/details/54972611 配置,最终能够在VS2015和QTCreator中进行相应项目创建。
但对于之前出现的.h.cpp文件无法生成的问题还是不明原因。


你可能感兴趣的:(vs2015 新建项目时提示Object reference not set to an instance of an object该怎么解决呢)