xamarin/Xamarin.Forms

[Bug] XAML compilation faills with compiled bindings on UWP

Offen

#6.547 geöffnet am 16.06.2019

 (12 Kommentare) (1 Reaktion) (1 zugewiesene Person)C# (1.926 Forks)batch import
3.5.0a/Xaml </>e/5 :clock5:help wantedi/regressionp/UWPt/bug :bug:up-for-grabs

Repository-Metriken

Stars
 (5.644 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide