xamarin/Xamarin.Forms

[Bug] XAML compilation faills with compiled bindings on UWP

开放

#6,547 创建于 2019年6月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

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南