2017-06-14 64 views
1

從運行Azure中入門Xamarin項目我嘗試CosmosDB和Visual Studio的Mac第一次和我得到的錯誤,如錯誤的Visual Studio中的Mac

The base class associated with this Xaml file could not be found

/Users/Downloads/DocumentDB-Quickstart-Xamarin/packages/Xamarin.Forms.2.3.3.180/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(3,3): Error MSB4018: The "XamlCTask" task failed unexpectedly. 
System.IO.FileNotFoundException: Could not find file "/Users/Downloads/DocumentDB-Quickstart-Xamarin/iOS/obj/iPhoneSimulator/Debug/DocumentDBTodo.iOS.exe.mdb". 
File name: '/Users/Downloads/DocumentDB-Quickstart-Xamarin/iOS/obj/iPhoneSimulator/Debug/DocumentDBTodo.iOS.exe.mdb' 

所有我所做的只是

  1. 創建使用SQL一個宇宙DB/DocumentDB接入的快速啓動和下載牛逼
  2. 點擊他Xamarin波斯菊分貝快速啓動
  3. 編譯和運行

是否有東西在我的設置我失蹤?

回答

0

該模板尚未更新,最新的Xamarin.Forms和VS無法編譯代碼。

通過右鍵單擊(通過包) - >更新手動更新Xamarin.Forms包。一旦更新干淨並重建你的項目,你將會很開心。

希望這會有所幫助.-