2016-08-01 99 views
0

嘗試我UWP應用程序部署到我的連接樹莓派3,B型當我收到以下錯誤。我正在運行Windows 10 IoT Core(版本:10.0.14393.0)在我的Pi和Windows 10內幕預覽版在我的開發箱上生成10586無法應用程序部署到樹莓派3時,Windows 10物聯網核心

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 ========== 

這是在評論中提到更新

Here is the .csproj

+0

您是否嘗試過將構建日誌詳細設置爲詳細?它說什麼有用嗎?您可能會找到罪魁禍首依賴的名稱。 – Vincent

+0

@Vincent現在看着這個...... –

+0

你檢查了你的.csproj文件,看看「TargetPlatformVersion」和「TargetPlatformMinVersion」的值是什麼嗎? – martennis

回答

0

問題是我有一個日期爲通用Windows開發SDK,編譯10586。我升級到構建14393 - 這諷刺地匹配我的樹莓派3上安裝的操作系統版本Windows 10物聯網核心

然後我設定的目標框架版本,它的工作原理:

enter image description here

+0

你從哪裏獲得UWP SDK?我只能找到Visual Studio下載的鏈接。 –

+0

** UWP SDK **是_VS 2015_安裝選擇加入選項。不確定如何在安裝程序之外獲得它? –

+0

我決定重新安裝我的VS2015,因爲它似乎一般都壞了。重新安裝後,儘管我在安裝過程中選擇了UWP工具10.0.14393,但它告訴我有「需要更新」並拒絕打開我的項目。從中得到的好處是我找到了這個頁面:https://developer.microsoft.com/en-us/windows/downloads/sdk-archive –

0

請檢查您引用的DLL和NuGet包的dll version.you可能會發現重複的,但不同版本的DLL在there.Otherwise請重新安裝的NuGet打包,然後重新構建解決方案。