我更新,將其與Windows通用應用 - Windows 10沒有「任何CPU」配置?
Windows軟件開發工具包(SDK)中創建的Windows 10 技術預覽
到
Windows Software Development Kit (SDK) for Windows 10 Insider Preview的Windows通用項目:
所以解決方案文件的更改僅爲VisualStudioVersion from 14.0.22609.0至14.0.22823.1。
項目文件的變化是次要的:
<TargetPlatformVersion>10.0.10030.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10030.0</TargetPlatformMinVersion>
到
<TargetPlatformVersion>10.0.10069.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10069.0</TargetPlatformMinVersion>
的問題是,原本這個通用項目已順利建成對任何CPU配置,但現在我m開始出現以下錯誤:
The processor architecture of the project being built "Any CPU" is not supported by the referenced SDK "Microsoft.NET.CoreRuntime, Version=1.0". 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 SDK: "x86, x64, ARM".
所以信息是明確做什麼,只是想確認:
這真的讓任何CPU不再可能從「SDK的Windows 10內幕預覽」開始普及的項目?
更新
沒有AnyCPU新創建的項目,以及 - 一個默認爲。
請記住,您正在使用的SDK可以並且會改變,錯誤和所有。 – SteveFerg
@SteveFerg,當然。想知道它可能是「設計」還是隻是一個錯誤。 – Sevenate
這對我來說也是令人驚訝的,有點感覺像是一個需求而不是bug。用File new項目也是這樣,不支持任何Cpu – Quincy