-
- Yolkin Games
- Posts: 14
- Joined:
XAML estension shows errors for global resources
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?
<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?
Re: XAML estension shows errors for global resources
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