无法将应用程序部署到 Raspberry Pi 3,Windows 10 IoT Core

Unable to deploy application to Raspberry Pi 3, Windows 10 IoT Core

我在尝试将我的 UWP 应用程序部署到已连接的 Raspberry Pi 3,模型 B 时收到以下错误。我是 运行 Windows 10 IoT Core(版本:10.0.14393.0) 我的 Pi 和 Windows 10 Insider Preview Build 10586 在我的开发盒上。

1>------ Build started: Project: Mirror, Configuration: Debug ARM ------
1>C:\Program Files (x86)\MSBuild.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.
1>  Mirror -> C:\Users\david.pine\Source\Repos\Mirror\Mirror\bin\ARM\Debug\Mirror.exe
2>------ Deploy started: Project: Mirror, Configuration: Debug ARM ------
2>Error: Field not found: 'Microsoft.VisualStudio.ImmersiveProjectServices.BootstrapperOperationPackage.StandardCollectorCpuAgent'.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

更新

Here is the .csproj 评论中提到的

问题是我有一个过时的 通用 Windows 开发 SDK,构建 10586。我升级到构建 14393 —— 具有讽刺意味的是,它与我 [ 上安装的 Windows 10 IoT Core 的 OS 版本匹配=25=] 3.

然后我设置了目标框架版本并且它起作用了:

请检查您引用的 DLL 和 nuget 包 dll version.you 可能会发现重复但不同版本的 dll there.Otherwise 请重新安装 nuget 包然后重建解决方案。