This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I am using the beta designer in VS2010 but if you have Lightspeed in your mvc project go to add a View and decide to create a strong-typed view… the Add View dialog’s dropdown box gets MEGA-FILLED with truly useless things, making very hard to see my useful classes |
|
|
Hi, Unfortunately this is a Microsoft issue and not something we can resolve ourselves - they scan pretty much everything out of LightSpeed and dump it in the dialog which, as you say, is messy. I've not checked if they've introduced anything new with MVC2 which would allow us to mask what was shown, but I'm doubtful. Sorry we cannot help more with this one. John-Daniel Trask |
|
|
I'm not sure this would work, but possibly [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] Might be an attribute that could help you hide things. http://msdn.microsoft.com/en-us/library/system.componentmodel.editorbrowsableattribute.aspx Just a thought, never looked how far that goes, but you never know. |
|
|
Hi longcloud, Appreciate the thought but unfortunately it really is that the dialog box is pretty basic with no smarts at all. Everything you're seeing that is cruft is because Microsoft include internal classes. If they're lazy enough to offer to generate CRUD screens for classes you can't actually use then I'm doubtful they would support any type of attribute to hide it. We're not keen to add the attributes to internal classes even if it did work because it would really slow down our own development of LightSpeed when we didn't get intelli-sense for all our internals. The discussion around that dialog box came up with MVC 1.0 came out and we did make noise about it at the time to Microsoft which obviously didn't go anywhere. If you do make some noise about it on any Microsoft forum please let me know, I'm happy to add my +1 to it which might help as I'm an ASP.NET MVP (even if they didn't listen the first time! :-) Sorry I can't be of more help, John-Daniel |
|