I came across this webpage on how to have cleaner namespaces in silverlight
http://www.codeproject.com/KB/silverlight/xaml_custom_namespaces.aspx
Does anyone know if this works for WP7?
When I try, I get a message that "The type or namespace name" myclassname "could not be found"
This is what I have in my AssemblyInfo.cs:
[assembly: XmlnsPrefix("http://schemas.myapp.com/wp7/", "iq")]
[assembly: XmlnsDefinition("http://schemas.myapp.com/wp7/", "MyApp.Controls")]
And on my page:
xmlns:iq="http://schemas.myapp.com/wp7/"
Tyler source
share