Xamarin Forms Gotchas

AppData\Local\Xamarin\Android.Support.v7… doesn’t exist or file corrupted

Delete all files in C:\Users\YOURUSER\AppData\Local\Xamarin\zips

The type or namespace name ‘App’ does not exist in the namespace ‘BeCarefulOfLongNamesApp’ (are you missing an assembly reference?)

Right click your solution > Manage NuGet packages > Updates > Update all Xamarin related packages for each project you have problems.

The “XamlCTask” task failed unexpectedly…

Clean and rebuild the solution after fixing errors or check if your path exceeds the maximum length (260 characters).

Can’t connect to Mac

  1. Enable Remote Login
  2. Install Xamarin Studio
  3. Install XCode and follow these steps
Advertisements

PostSharp.MSBuild.PostSharp30ExtractTools

Tl;DR:

  • Install compiled images
  • Uninstall PostSharp visual studio extension
  • Reboot pc (last hope)
  • Install PostSharp visual studio extension

Tried to compile a project from work at home and got greeted by that message, i have installed the compiled images at work but not at home so i thought that was the problem, but you “can’t” get the prompt to install the images because it only shows when you compile.

Navigate to: C:\ProgramData\PostSharp\YOURVERSION\bin.Release\

And execute your respective postsharp.srv.exe. After that just reboot your pc and install the visual studio extension (if you uninstalled it) and hope for your project to compile.