简体   繁体   English

在Visual Studio上运行Xamarin Forms iOS的GetBuiltProjectOutputRecursive错误

[英]GetBuiltProjectOutputRecursive error running Xamarin Forms iOS on Visual Studio

Seems like I get this weird problem while running Xamarin.iOS on Visual studio. 看起来我在Visual Studio上运行Xamarin.iOS时遇到了这个奇怪的问题。 This happened after I updated to the latest Xamarin (today). 这发生在我更新到最新的Xamarin(今天)之后。

I have connected to my Mac though. 我已经连接到我的Mac了。 I tried to Google it, no answer... 我试过谷歌,没有回答......

"error MSB4057: The target "GetBuiltProjectOutputRecursive" does not exist in the project" “错误MSB4057:项目中不存在目标”GetBuiltProjectOutputRecursive“

What is the problem? 问题是什么? Before the update, it worked! 在更新之前,它工作了!

1>------ Build started: Project: GTS.Mobile.iOS, Configuration: Debug iPhoneSimulator ------
1>  Generated session id: 04dbf5285bd918e0f3e1fc41e6f65f8c
1>  Generated build app name: GTSMobileiOS
1>  Connecting to Mac server 192.168.9.164...
1>C:\Users\kkh\Computas\CargoNet\GTS.Mobile\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(243,5): warning : All projects referencing GTS.Mobile.csproj must install nuget package Microsoft.Bcl.Build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317569.
1>  Consider app.config remapping of assembly "System.Runtime, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "1.5.11.0" [] to Version "4.0.0.0" [C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Facades\System.Runtime.dll] to solve conflict and get rid of warning.
1>  Consider app.config remapping of assembly "System.IO, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "1.5.11.0" [] to Version "4.0.0.0" [C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Facades\System.IO.dll] to solve conflict and get rid of warning.
1>  Consider app.config remapping of assembly "System.Net.Http, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "1.5.0.0" [C:\Users\kkh\Computas\CargoNet\GTS.Mobile\GTS.Mobile\GTS.Mobile\bin\Debug\System.Net.Http.dll] to Version "4.0.0.0" [C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\System.Net.Http.dll] to solve conflict and get rid of warning.
1>  Consider app.config remapping of assembly "System.Threading.Tasks, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "1.5.11.0" [] to Version "4.0.0.0" [C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Facades\System.Threading.Tasks.dll] to solve conflict and get rid of warning.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3276: Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects" property to true in the project file. For more information, see http://go.microsoft.com/fwlink/?LinkId=294190.
1>  GTS.Mobile.iOS -> C:\Users\kkh\Computas\CargoNet\GTS.Mobile\GTS.Mobile.iOS\bin\iPhoneSimulator\Debug\GTSMobileiOS.exe
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.After.targets(59,36): error MSB4057: The target "GetBuiltProjectOutputRecursive" does not exist in the project.

I have solved the problem on my own installation. 我在自己的安装上解决了这个问题。

Here is what i did: 这是我做的:

  1. Install the newest xamarin on both visual studio and mac. 在visual studio和mac上安装最新的xamarin。
  2. Install xamarin studio (newest) 安装xamarin工作室(最新)
  3. Remove all xamarin products including gtk. 删除所有xamarin产品,包括gtk。
  4. Install xamarin newest(complete pack) with the installer 使用安装程序安装最新的xamarin(完整包)
  5. Reboot computer 重新启动计算机
  6. Open solution and clean/build 打开解决方案并清理/构建

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Xamarin IOS生成Visual Studio 2017中的错误 - Xamarin IOS build error in visual studio 2017 本机链接失败,未定义符号错误。 Xamarin Forms PCL iOS Visual Studio - Native linking failed, undefined symbol error. Xamarin Forms PCL iOS Visual Studio Xamarin Forms Visual Studio 2015 HttpClient 请求不适用于 iOS - Xamarin Forms Visual Studio 2015 HttpClient requests not working on iOS Xamarin为Visual Studio形成Intellisense - Xamarin Forms Intellisense for Visual Studio 视觉工作室xamarin形成mvvm - visual studio xamarin forms mvvm 使用Visual Studio的Xamarin.forms停止显示错误消息 - Xamarin.forms with Visual Studio stopped showing error messages Android 模拟器在 Xamarin 表单 Visual Studio 中显示错误 - Android Emulator showing a error in Xamarin forms Visual Studio Xamarin.Forms:重新安装 Visual Studio 2019 v 16.11.11 预览版 1.0 后在调试模式下运行程序时出错 - Xamarin.Forms : Error running program in debug mode after reinstalling Visual Studio 2019 v 16.11.11 preview 1.0 Xamarin.forms iOS 启动后黑屏(Xamarin Visual Studio 2022) - Xamarin.forms iOS Black Screen after launching (Xamarin Visual Studio 2022) 错误:您必须调用Xamarin.Forms.Init()-Visual Studio Xamarin,单元测试错误 - Error: You MUST call Xamarin.Forms.Init() - Visual Studio Xamarin, unit test error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM