← All recipes
Moderne licensed

XmlnsDefinition must map to an existing namespace

Recipe IDOpenRewrite.Recipes.CSharp.CodeQuality.Wpf.FindXmlnsDefinitionForMissingNamespaceArtifactOpenRewrite.Recipes.CSharp.CodeQuality

Flags an [assembly: XmlnsDefinition] whose clrNamespace argument names a namespace that no source file declares, so the mapping exports nothing.

Single recipecsharpcode-qualityProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe OpenRewrite.Recipes.CSharp.CodeQuality.Wpf.FindXmlnsDefinitionForMissingNamespace

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.CodeQuality