Expression Blend doesn't find namespace/class to create sample data
I have a WP7 app that calls a WP7 client library. I added a new class to the cli开发者_运维百科ent library then I go over to Blend to create sample data for the class. The dialog box to select the class to generate the sample data doesn't show the class or its namespace. Why not?
The class doesn't have an interface or generics and it is public.
I closed/reopened blend. Built the project in VS. What else should I check?
The client library has other namespaces and classes that Blend sample data generation dialog box does find.
Make sure your project is compiled after adding the class files. In Blend, select Project | Build Project from the menu (or CTRL+SHIFT+B).
精彩评论