2017-06-14 30 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包。一旦更新干净并重建你的项目,你将会很开心。

希望这会有所帮助.-