Another day, another bug… at least this time it’s Microsoft bug and not one of ours! 🙂

Today’s bug is when working with the LINQ to SQL dbml files that have code behind them, if the uses statements are not inside of the namespace, the MSLinqToSQLGenerator will fail with ‘Unspecified error’.  The solution is simple, move the using statements into the code block that contains the namespace.  As to WHY this would fail, ask Microsoft.

Thanks to this article on Microsoft’s Connect site for this information.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s