Visual Studio 2008 SP1 Beta br0ke my LINQ-to-SQL
As indicated in my previous article, I recently reinstalled my PC... One of the "updates" I made was installing Visual Studio 2008 SP1 Beta! Well... As Murphy would have it... I needed to change some stuff on a older project I have been working on. I opened the project, and I needed to update some of my LINQ-2-SQL entities just to find I can't open LINQ or compile my application!
Here is the error message I received:
The custom tool 'MSLinqToSQLGenerator' failed. Could not retrieve the current project. xyz.dbml
After searching the forums, I finally found a solution... For some unexplained reason, the LINQ environment is not loaded on startup! To fix it, remove everything in the following registry tree:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0
Here is the forum entry
Hi all,
I had the same problem.
I deleted 'just' the values underneath the subkey:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Packages
It seemed that MSVS had decided not to load my designer tool on startup and marked it to be skipped next startup.
After deleting these values, everything worked again.
Greets,
John.
And now it works again!!!