1.安装VS2015时如果选择“默认安装功能”可能出现打开Demo时,找不到文件或项目已被卸载的问题:
解决方法:注意首次启动时vs报“C++基础类库未安装”,应立即更新处理,或者项目名称右键会看到这一项进行处理。
2.VS2015编译报MS8020错误(新装的VS2015,调试旧的代码报错),信息如下:
MSB8020 The build tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, please install v120 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". Gtk-sfr-Demo C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets 57
解决方法:菜单上“项目”——Demo属性——平台工具集 改为VS2015支持的即可: Visual Studio 2015 (v140)
解决方法:注意首次启动时vs报“C++基础类库未安装”,应立即更新处理,或者项目名称右键会看到这一项进行处理。
2.VS2015编译报MS8020错误(新装的VS2015,调试旧的代码报错),信息如下:
MSB8020 The build tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, please install v120 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". Gtk-sfr-Demo C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets 57
解决方法:菜单上“项目”——Demo属性——平台工具集 改为VS2015支持的即可: Visual Studio 2015 (v140)