xamarin/Xamarin.Forms

[Bug] XAML compilation faills with compiled bindings on UWP

Aperta

#6547 aperta il 16 giu 2019

 (12 commenti) (1 reazione) (1 assegnatario)C# (1926 fork)batch import
3.5.0a/Xaml </>e/5 :clock5:help wantedi/regressionp/UWPt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

UWP project fails to build if it contains any kind of Xamarin.Forms compiled bindings. Build output:

CompiledColorSelectorPage.xaml : error : Value cannot be null.
CompiledColorSelectorPage.xaml : error : Parameter name: type

Possibly related to #5416

Affected Setups:

Bug appears only if .xaml is in UWP project or a shared project linked to one. Data bindings demos and other projects with bindings as a part of .NET Standard library aren't affected. Android projects aren't affected.

Steps to Reproduce

Create a blank Xamarin.Forms + UWP project, move Xamarin.Forms files to UWP project, add a page with compiled bindings, build.

Basic Information

  • Versions with issue: 3.5.0.129452, 4.0.0.497661, 4.1.0.496342-pre2
  • Last known good version: 3.4.0.1039999
  • IDE: VS Community 2017 and 2019
  • Platform Target Frameworks:
    • UWP: 16299, 17763

Reproduction Link

CompiledBindings.zip — a blank project with a page from data binding demos.

Guida contributor