This error began to occur with SP1 of Visual Studio 2008.If you add a partial class declaration to a Linq-To-SQL Data Classes context object, and then put a "using" statement at the top of the file outside the namespace declaration, the following error occurs when you run the custom tool:"The custom tool 'MSLinqToSQLGenerator' failed. Unspecified error"Also, Visual Studio will then delete the corresponding ".designer.cs" file for your data context and nothing will compile after that point.Now, the workaround is to move my "using" statements INSIDE the namespace declaration - and then it works!
Version