xamarin/Xamarin.Forms

[Bug] XAML compilation faills with compiled bindings on UWP

オープン

#6,547 opened on 2019/06/16

 (12 件のコメント) (1 件のリアクション) (1 人の担当者)C# (1,926 件のフォーク)batch import
3.5.0a/Xaml </>e/5 :clock5:help wantedi/regressionp/UWPt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド