none
The custom tool 'MSLinqToSQLGenerator' failed. Unspecified error RRS feed

  • Question

  • I am running a fresh installation of VS2008 with SP1 etc applied. Every time I edit the model I receive the above message and the *.designer.cs file is deleted from disk.

    I have tried creating extremely simple models with only a handful of tables and the error still occurs randomly AFTER the initial creation.

    I cannot believe that the generator is really this flaky but everything I have tried produces the same result so I'm going back to bad old ADO.NET
    Friday, October 24, 2008 9:51 AM

Answers

  •  

    Go into the partial class file for the data context and move the 'using' statements inside the 'namespace' block.
    Friday, October 24, 2008 2:53 PM
    Answerer