Skip to content

Instantly share code, notes, and snippets.

@jimmgarrido
Last active May 5, 2017 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimmgarrido/5f5b4b045464ad98aeae42638a5b7d45 to your computer and use it in GitHub Desktop.
Save jimmgarrido/5f5b4b045464ad98aeae42638a5b7d45 to your computer and use it in GitHub Desktop.

Building the Forms source

Download/fork GitHub repo

Required assemblies

Common

  • Xamarin.Forms.Core.dll
  • Xamarin.Forms.Xaml.dll
  • Xamarin.Forms.Platform.dll

Platforms

Android

  • FormsViewGroup.dll
  • Xamarin.Forms.Platform.dll
  • Xamarin.Forms.Platform.Android.dll

iOS

  • Xamarin.Forms.Platform.iOS.dll

UWP

  • Xamarin.Forms.Platform.UAP.dll
  • Xamarin.Forms.Platform.UAP.pri
  • Xamarin.Forms.Platform.UAP\Xamarin.Forms.Platform.UAP.xr.xml
  • Xamarin.Forms.Platform.UAP\Properties\Xamarin.Forms.Platform.UAP.rd.xml

Building projects

Xamarin.Forms.Xaml

Output directory

  • Xamarin.Forms.Xaml\bin

Assemblies created

  • Xamarin.Forms.Core.dll
  • Xamarin.Forms.Xaml.dll
  • Xamarin.Forms.Platform.dll

Xamarin.Forms.Platform.iOS

Output directory

  • Xamarin.Forms.Platform.iOS\bin

Assemblies created

  • Xamarin.Forms.Platform.iOS.dll

Forwarders\Xamarin.Forms.Platform.Android

Output directory

  • Stubs\Xamarin.Forms.Platform.Android\bin

Assemblies created:

  • FormsViewGroup.dll
  • Xamarin.Forms.Platform.dll
  • Xamarin.Forms.Platform.Android.dll

Xamarin.Forms.Platform.UAP

Output directory

  • Xamarin.Forms.Platform.UAP\bin

Assemblies created:

  • Xamarin.Forms.Platform.UAP.dll
  • Xamarin.Forms.Platform.UAP.pri
  • Xamarin.Forms.Platform.UAP.xr.xml

Additional files:

  • Xamarin.Forms.Platform.UAP\Properties\Xamarin.Forms.Platform.UAP.rd.xml

Debugging projects

  1. Copy assemblies and pdb/mdb files to root of new directory

    • For UWP, make sure to create the additional directories for the .xml files and to follow the expected directory structure
  2. In your project, remove the Forms package, then manually add the references to the compiled assemblies

  3. Set breakpoint and step into Forms code, or open a source file in the IDE and set breakpoint there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment