2015-11-20 34 views
13

Dường như tôi gặp vấn đề lạ khi chạy Xamarin.iOS trên Visual studio. Điều này xảy ra sau khi tôi cập nhật lên Xamarin mới nhất (hôm nay).GetBuiltProjectOutputRecursive lỗi chạy Xamarin Forms iOS trên Visual Studio

Tôi đã kết nối với máy Mac của mình. Tôi cố gắng để Google nó, không có câu trả lời ...

"lỗi MSB4057: Mục tiêu 'GetBuiltProjectOutputRecursive' không tồn tại trong dự án"

vấn đề là gì? Trước khi cập nhật, nó đã hoạt động!

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. 
+0

Hiển thị mã của bạn. Đặt câu hỏi cụ thể và được hướng dẫn. – tdbeckett

+0

Tôi không nghĩ mình cần hiển thị bất kỳ mã nào. Tôi đã tạo một dự án mới. Được liên kết với máy Mac của tôi, hãy ngồi iOS làm dự án khởi động từ dự án biểu mẫu và sau đó tôi vẫn gặp lỗi. Tôi đã kiểm tra Nếu tôi đã liên kết chính xác vì tôi có thể biến trình mô phỏng iOS từ xa trên cửa sổ của mình –

+0

Tôi đã cập nhật lên xamarin mới nhất và gặp lỗi tương tự, mà không thay đổi bất kỳ điều gì khác ngoài cập nhật. – RomanK

Trả lời

3

Tôi đã giải quyết được sự cố khi cài đặt của riêng mình.

Dưới đây là những gì tôi đã làm:

  1. Cài đặt Xamarin mới nhất trên cả hai visual studio và mac.
  2. Cài đặt studio xamarin (mới nhất)
  3. Xóa tất cả các sản phẩm xamarin bao gồm gtk.
  4. Install Xamarin mới nhất (hoàn thành gói) với trình cài đặt
  5. máy tính khởi động lại
  6. mở giải pháp và sạch/xây dựng
+0

hmmm để nó hoạt động nếu tôi xóa tất cả gtk vv trên máy tính windows của tôi. sau đó cài đặt lại gói và khởi động lại rồi thử trên studio trực quan? –

+0

Cảm ơn! Tôi đoán giải pháp của bạn là giải pháp đơn giản nhất và chính xác nhất. –

Các vấn đề liên quan