I’ve been working on my ASP.NET MVC project recently (more about that to come later) and I’ve been having a problem that whenever I added a new table to my Linq to SQL class when I compiled the project the designer.cs file would be deleted and I’d be listed with 100’s of errors. It seems this is a known bug and all you need to do to get around it is go into your cs file where you are added custom business logic and move the using statements to be within your namespace definition.
Fixes the problem which means a relieved Nick!