Yolkin Games
Topic Author
Posts: 14
Joined: 02 Mar 2026, 15:03

XAML estension shows errors for global resources

06 Mar 2026, 21:24

I have used global resources in Noesis studio for button styles. Also referenced global resources in Unity settings for Noesis. Everything works well. But XAML extension for VScode thinks those resources are not referenced and is showing a red error on "StaticResource"

<Button x:Name="ResumeButton" Style="{StaticResource BackgroundBlur.ButtonBlue}" Content="RESUME"/>
<Button x:Name="SettingsButton" Style="{StaticResource BackgroundBlur.ButtonBlue}" Content="SETTINGS"/>
<Button x:Name="QuitMatchButton" Style="{StaticResource BackgroundBlur.ButtonBlue}" Content="QUIT MATCH"/>

Am I doing sth wrong?
 
User avatar
jsantos
Site Admin
Posts: 4822
Joined: 20 Jan 2012, 17:18
Contact:

Re: XAML estension shows errors for global resources

09 Mar 2026, 12:44

Is this happening with the VS Code extension connected to the Unity language server? (The current server is shown in the lower-right corner of VS Code, and Unity must be running)

Who is online

Users browsing this forum: No registered users and 6 guests