【问题标题】:Unable to deploy application to Raspberry Pi 3, Windows 10 IoT Core无法将应用程序部署到 Raspberry Pi 3、Windows 10 IoT Core
【发布时间】:2017-05-19 03:07:20
【问题描述】:

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

1>------ Build started: Project: Mirror, Configuration: Debug ARM ------
1>C:\Program Files (x86)\MSBuild\14.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 ==========

更新

在 cmets 中提到的Here is the .csproj

【问题讨论】:

  • 您是否尝试过将构建日志详细程度设置为详细?它说什么有用的吗?您可能会找到罪魁祸首依赖项的名称。
  • @Vincent 现在正在调查...
  • 您是否检查了您的 .csproj 文件并查看 TargetPlatformVersionTargetPlatformMinVersion 的值是什么?
  • 仅供参考,您的项目已在我的 RP2 上成功部署/运行。
  • @Jackie 真是令人难过,我希望我能让它为我工作。 ????

标签: arm uwp raspberry-pi3 windows-iot-core-10


【解决方案1】:

问题是我有一个过时的通用 Windows 开发 SDK,构建 10586。我升级到 build 14393 - 讽刺的是,它与我的 Raspberry Pi 3 上安装的 Windows 10 IoT Core 的操作系统版本匹配。

然后我设置目标框架版本并且它可以工作:

【讨论】:

  • 从哪里获得 UWP SDK?我只能找到 Visual Studio 下载的链接。
  • UWP SDKVS 2015 安装选项。不确定如何在安装程序之外获取它?
  • 我决定重新安装我的 VS2015,因为它似乎普遍坏了。重新安装后,即使我在安装过程中选择了 UWP 工具 10.0.14393,它也会告诉我“需要更新”并拒绝打开我的项目。这样做的好处是我找到了这个页面:developer.microsoft.com/en-us/windows/downloads/sdk-archive
【解决方案2】:

请检查您引用的 DLL 和 nuget 包 dll 版本。您可能会在那里发现重复但不同版本的 dll。否则请重新安装 nuget 包,然后重新构建解决方案。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-08-09
    相关资源
    最近更新 更多