I have an MVC3 site that I\'ve setup for testing another site - most of it has been quick and dirty, and so I\'ve not gone to town creating model and view model types for all th
Do you know the name of the assembly generated by the build manager? If so, you should be able to apply InternalsVisibleTo
in the controller assembly, and it will all work fine.
EDIT: One possible solution: create a public type extending DynamicObject
in the model assembly which proxies any requests for properties down to your anonymous type via reflection. It would be ugly, but I think it should work... effectively making the anonymous types public.