Skip to content

Instantly share code, notes, and snippets.

@jimmgarrido

jimmgarrido/FormsSource.md Secret

Last active May 5, 2017
Embed
What would you like to do?

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