I have created my own search module, which I loosely based on the Orchard search functionality. Instead of querying orchard I go to my own service to query and return a List<T>. The views and viewmodels are pretty much the same.
Within my search project I have a reference to a separate WCF service, I use this within my controller to populate the viewmodel.
However when displaying the view it needs a reference to T held in my List<T>. Even though in the view I have a using statement to the type. I get the error.
"The type or namespace name 'yyy' does not exist in the namespace 'xxx' (are you missing an assembly reference?)"
In the Orchard search they have a using statement in the page, which seems to work fine.
Is this a bug or am I missing something in my web.config or something else?