If a picture says a thousand words then the following should save me some typing as to the value of XmlnsDefinition (reference line 5 below) - it provides an easy to remember Url mapping to your namespaces.
My PrototypeApp (born from the Prism DirectoryLookupModularity sample) has an Prototype.Interface project where much of the application specific code resides. Within the AssemblyInfo.cs file (under the Properties folder) I was able to map all of the applicable namespaces to a single, easy to remember, url.
Excerpt from AssemblyInfo.cs follows:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: XmlnsDefinition(http://www.Global-Webnet.com/PrototypeApp,
"PrototypeApp.Interface.Constants")]
[assembly: XmlnsDefinition(http://www.Global-Webnet.com/PrototypeApp,
"PrototypeApp.Interface.ViewModels")]
[assembly: XmlnsDefinition(http://www.Global-Webnet.com/PrototypeApp,
"PrototypeApp.Interface.Controls")]
[assembly: XmlnsDefinition(http://www.Global-Webnet.com/PrototypeApp,
"PrototypeApp.Interface.Converters")]
Demo source code follows: DirectoryLookupModularity.zip (5.82 mb)
Tags:
wpf,
assemblyinfo,
prototype
Categories:
Prototype