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

[Bug]Error: : XamlC error XFC0000 : Cannot resolve type "Shield" #1311

@rsbepvb

Description

@rsbepvb

Description. Error: : XamlC error XFC0000 : Cannot resolve type "Shield"

Steps to Reproduce

  1. Installed Xamarin Community Toolkit (v 1.1.0) in All projects (iOS, Android, Main)
  2. Insert xmlns:xct="http://xamarin.com/schemas/2020/toolkit" in xaml page
  3. Insert <xct:Shield x:Name="Shield1"
    Subject="Software Version Number"
    Status="on discord"
    StatusBackgroundColor="SeaGreen"
    StatusTextColor="White"
    Margin="2,0"
    HeightRequest="30"
    HorizontalOptions="Start"/>
    in xaml

Expected Behavior

Expect Shield to Appear without error and intelisense to work in xaml.cs page

Actual Behavior

intelisense does not work in xaml.cs page -- intelisense indicates Shield not found. Further when compiling, xaml produces error above -- Error: : XamlC error XFC0000 : Cannot resolve type "Shield".
Interestingly, the shield does appear in app when run.

Basic Information

Would appreciate any suggestions to resolve. None found in searching so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working. Breaky break.buildchain

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions