我的老师很想在学校使用Visual Studio 2010,因为他们不想打扰安装任何新东西.我一直在使用Visual Studio 2015,我真的很喜欢它.但是,当她尝试运行任何代码时,会产生一堆错误.我尝试了通过编辑解决方案文件使2013/2012项目与2010兼容的解决方案,但它仍然会产生错误.有解决方案吗?
当我尝试在Visual Studio 2010中运行源文件时,这是控制台输出:
1>------ Build started: Project: typingSalon, Configuration: Debug Win32 ------
1>Build started 4/8/2015 8:19:30 AM.
1>Project file contains ToolsVersion="14.0". This toolset is unknown or missing. You may be able to resolve this by installing the appropriate .NET Framework for this toolset. Treating the project as if it had ToolsVersion="4.0".
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v140) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
1> …Run Code Online (Sandbox Code Playgroud)