Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Intellisense in VS2022 not working when the Windows head is not included #15517

@AlleSchonWeg

Description

@AlleSchonWeg

Current behavior

Hi,
i created a basic Uno project (iOS and Android Head) with the latest VS Version (17.9.0). In the xaml files intellisense is not working. VS reports this errors:
image
Also InitializeComponent in the cs file is marked as not known. I can compile the project successfully. I tried to clean solution, delete bin/obj and restart VS. But the problem persists.

Expected behavior

No errors.

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

5.1.56

Affected platforms

Android, iOS

IDE

VS Enterprise

IDE version

17.9.0

Relevant plugins

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/tbdCategorizes an issue for which the difficulty level needs to be defined.kind/bugSomething isn't workingproject/core-tools 🛠️Categorizes an issue or PR as relevant to core and tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions