Target of [DependsOn] should exist

Proprietary

[DependsOn(name)] names its target as a string, so a missing property is only discovered when XAML is loaded — and then only as an ordering that quietly does not happen. Flags the attribute when no property of that name is reachable on the type.

OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.FindDependsOnTargetMissing
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.FindDependsOnTargetMissing

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.