I have WPF app and inside its XAML there are image paths:
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?
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.