The “XamlCTask” task failed unexpectedly in Xamarin

前端 未结 11 1946
孤街浪徒
孤街浪徒 2021-01-12 13:59

I am currently having a problem building my Xamarin.Forms solution. I\'m getting an error of The \"XamlCTask\" task failed unexpectedly. I tried looking at the

11条回答
  •  爱一瞬间的悲伤
    2021-01-12 14:40

    I had the same problem. Clean or restart didn't help. Now I tried the simulator instead of the device. This worked. Afterwards I was able to build and run on the device.

    Edit:

    Now I had the issue a second time. But here it was different. The app didn't compile anymore. Now it seems to work. This is what I've done:

    • Upgrade to XF 2.3.3.168
    • Upgrade to XF 2.3.3.168 for the referenced project
    • Fixed a compile error (only appeared after update)

提交回复
热议问题