Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Xaml-Only resources can't resolve xmlns with implicit assembly #7531

Closed
StephaneDelcroix opened this issue Sep 16, 2019 · 0 comments
Closed

Comments

@StephaneDelcroix
Copy link
Member

Description

A Xaml-Only resource dictionary (without a code-behind type) can not resolve xmlns in the form of

    xmlns:Custom="clr-namespace:Issue4921.MyControl"

or

    xmlns:Custom="using:Issue4921.MyControl">

but require the full syntax

    xmlns:Custom="clr-namespace:Issue4921.MyControl;assembly=Issue4921"

Steps to Reproduce

see #4921 (comment)

Expected Behavior

XAML-Only RD can use short syntax

Actual Behavior

Exception is thrown

Basic Information

  • Version with issue: 4.2.0.778463
  • Last known good version: probably nonw

Screenshots

Reproduction Link

see #4921 (comment)

@StephaneDelcroix StephaneDelcroix added t/bug 🐛 s/unverified New report that has yet to be verified labels Sep 16, 2019
@StephaneDelcroix StephaneDelcroix self-assigned this Sep 16, 2019
@samhouts samhouts added a/Xaml </> and removed s/unverified New report that has yet to be verified labels Sep 16, 2019
StephaneDelcroix added a commit that referenced this issue Sep 17, 2019
In case of Xaml-only RD, the rootAssembly is different from the assembly
of the rootType

- fixes #7531
StephaneDelcroix added a commit that referenced this issue Oct 7, 2019
regression introduced by #7531

- fixes #7830
StephaneDelcroix added a commit that referenced this issue Oct 7, 2019
felipebaltazar pushed a commit to felipebaltazar/Xamarin.Forms that referenced this issue Oct 16, 2019
In case of Xaml-only RD, the rootAssembly is different from the assembly
of the rootType

- fixes xamarin#7531
felipebaltazar pushed a commit to felipebaltazar/Xamarin.Forms that referenced this issue Oct 16, 2019
felipebaltazar pushed a commit to felipebaltazar/Xamarin.Forms that referenced this issue Oct 16, 2019
In case of Xaml-only RD, the rootAssembly is different from the assembly
of the rootType

- fixes xamarin#7531
felipebaltazar pushed a commit to felipebaltazar/Xamarin.Forms that referenced this issue Oct 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants