使用Visual c++ 2015工具集构建Windows/Windows Phone 8.1

Using Visual C++ 2015 toolset for building Windows/Windows Phone 8.1

本文关键字:Windows Phone 构建 Visual c++ 2015 工具集 使用      更新时间:2023-10-16

我如何使用visual studio 2015编译器编译代码,目标是Windows/Windows Phone 8.1?
Windows/Windows Phone 8.1项目默认使用v120或v120_wp平台工具集。但是我想使用新版本的Microsoft Visual c++ 2015编译器(支持noexcept,默认移动赋值和移动构造函数,c++ 14x功能等)。

不能在Visual Studio 2015下使用新的编译器进行Windows Phone 8.1开发。正如您所说,Visual Studio在8.1中使用了v120平台工具集。要使用新的编译器,你需要迁移到Windows 10项目的通用应用程序。

作为参考,这里有一个链接,来自微软员工的回答(在评论的底部附近):

http://blogs.msdn.com/b/vcblog/archive/2015/03/26/visual-c-tools-for-windows-10-technical-preview.aspx

Windows 8.1和Windows Phone 8.1应用程序/组件仅使用vc++ 2013工具集构建(即使使用VS2015)