2015-11-20 2 views
13

Scheint wie ich dieses seltsame Problem beim Ausführen von Xamarin.iOS auf Visual Studio bekommen. Dies geschah, nachdem ich auf den neuesten Xamarin (heute) aktualisiert habe.GetBuiltProjectOutputRecursive Fehler beim Ausführen von Xamarin Forms iOS auf Visual Studio

Ich habe jedoch an meinen Mac angeschlossen. Ich habe versucht, Google es, keine Antwort ...

„Fehler MSB4057: Das Ziel‚GetBuiltProjectOutputRecursive‘existiert nicht im Projekt“

Was ist das Problem? Vor dem Update hat es funktioniert!

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

Code anzeigen. Stellen Sie spezifische und gezielte Fragen. – tdbeckett

+0

Ich glaube nicht, dass ich irgendeinen Code zeigen muss. Ich habe ein neues Projekt erstellt. Verbunden mit meinem Mac, saß iOS als Startprojekt aus dem Formular-Projekt und dann bekomme ich immer noch den Fehler. Ich habe überprüft, ob ich richtig verlinkt habe, wie ich den iOS-Simulator remote auf meinem Windows –

+0

drehen konnte, aktualisierte ich auf den neuesten Xamarin und bekam den gleichen Fehler, ohne etwas anderes als die Aktualisierung zu ändern. – RomanK

Antwort

3

Ich habe das Problem auf meiner eigenen Installation gelöst.

Hier ist, was ich tat:

  1. Installieren Sie die neueste Xamarin auf Visual Studio und Mac.
  2. Installieren Sie Xamarin Studio (neueste)
  3. Entfernen Sie alle Xamarin Produkte einschließlich GTK.
  4. installieren Xamarin neueste (Komplettpaket) mit dem Installer
  5. Reboot Computer
  6. Offene Lösung und sauber/bauen
+0

hmmm so funktioniert es, wenn ich alle gtk etc auf meinem Windows PC entfernen. Dann installiere das Paket erneut und starte es neu und probiere es dann im Visual Studio aus. –

+0

Danke! Ich schätze, deine Lösung ist die einfachste und die richtige. –