✅ When I enter Visual Studio WPF, all lines of code in all scripts are underlined. How to fix this?
14 Replies
What does it say when you hover over that with your mouse?
$code
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
For longer snippets, use: https://paste.mod.gg/The
App.xaml
Your ResourceDictionary.xaml
@Lerock (Pan Bułka) The above is just the syntax and example of using a resource dictionaryI would assume the error would be in the actual ResourceDictionary file you have, 'MenuButtonTheme' file. Just check the syntax there
wait
I restarted the Visual Studio 5th time and it is fixed now
That is so weird lmao. At least it is fixed now.
Yeah, Thank you for help
$close
If you have no further questions, please use /close to mark the forum thread as answered
twoja stara
Normally rebuilding the project helps with those sorts of WPF errors