小编Rad*_*eng的帖子

Visual Studio 2015无法为Cordova项目创建发布版本

我使用Visual Studio 2015年科尔多瓦工具来构建目标的Windows通用(UWP)和Android的应用程序.

我可以成功为Android和UWP 创建Debug版本,Release版本也适用于Android.

但是Visual Studio中无法创建发布建立了UWP,没有的Windows-AnyCPU,Windows x86,Windows x64和Windows ARM选择工作.

在为其创建发布版本时Windows-AnyCPU,错误消息如下:

1>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\Microsoft.NetNative.targets(133,5): error MSB3779: The processor architecture of the project being built "Any CPU" is not supported by the referenced SDK "Microsoft.NET.Native.Framework.1.2, Version=1.2". Please consider changing the targeted processor architecture of your project (in Visual Studio this can be done through the Configuration Manager) to one of the architectures supported by the …
Run Code Online (Sandbox Code Playgroud)

visual-studio cordova visual-studio-cordova visual-studio-2015 uwp

4
推荐指数
1
解决办法
1633
查看次数