unoplatform / uno.templates

Uno Platform project templates
https://platform.uno/
Other
16 stars 9 forks source link

VS: When WinUI target is not physically listed first, XAML intellisense is not working properly #758

Open MartinZikmund opened 2 weeks ago

MartinZikmund commented 2 weeks ago

Current behavior

When a blank Uno app is created, IntelliSense for built-in resources, etc. is not working. that is even if one selects net8.0-windowsxyz as target in the top left dropdown. However, when the windows target is put first in order explicitly in the .csproj, it starts working correctly:

image

Expected behavior

Should work out of the box

Affected platforms

No response

Template Host

Visual Studio

Host OS

Windows

Template Options

Latest stable

Template Version

Latest stable

Anything else we need to know?

No response

MartinZikmund commented 2 weeks ago

@jeromelaban I would expect the target reordering would be enough, but it seems it is not. I guess this is something for the VS team to handle?