Restrict list of strongly-typed classes in the new Add View dialog
Background:
I just updated to the RC of MVC3, and when I went to add a Stongly-Typed View, the list of classes to use was huge, and contains classes in referenced assemblies I really don't ever want to see.
Is there a way to remove assemblies from being considered in the list of models?
For example, I am seeing:
...
Account (company.Nsa.Services.Entitlement)
...
Feature (company.Nsa.Services.DataStore)
...
GetDatabaseListRequest (company.Nsa.Services.DatabaseCharges)
...
TraceMessage (company.IO)
...
开发者_如何学CThere are at least 3600 entries. "company.Nsa.Services" is a seperate assembly, as it "company". Both containing lots of classes we use throughout our codebase, but will NEVER be used as a Data View class.
What I am NOT seeing is:
FindViewModel (Company.UI.Admin.ViewModels)
which is a class in the project with the views. I am not seeing ANY classes from the Company.UI.Admin assembly.
No, just start typing and the list will filter until you find the desired class.
精彩评论