3

I have WPF app and inside its XAML there are image paths: enter image description here

If the paths are wrong Visual Studio shows errors. I want to get errors for invalid paths or other problems during the build. How do I achieve this?

Mafii
  • 7,227
  • 1
  • 35
  • 55
Nmktronas
  • 237
  • 3
  • 12
  • 1
    I don't have a specific solution to this problem, but you may find relevant and useful ideas here: https://stackoverflow.com/questions/12350109/compile-time-checking-of-bindings – Peter Duniho Jun 01 '16 at 01:24

1 Answers1

0

You cannot do this today. The XAML parser (used by the XAML language service in Visual Studio's editor) is different than the one used to compile the XAML.