WP7 user spaces and prefixes

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:

//Map all Namespaces in the project to the IQ prefix  
[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/"
+3
source share
1 answer

# ( , URI) - Silverlight 4. Silverlight WP7 Silverlight 3, , , .

+4

All Articles