As Michael points out the fix is to reset the Visual Studio Packages.
Apparently at one of the many times that VS starts and complains about a package load failure – you know those failures where you usually have no idea what you’re consenting to exactly :-} - I must have unknowingly unloaded the DBML parsing package.
The fix is to run devenv /Reset Skip Pkgs: This fires up Visual Studio and reloads all packages that were previously skipped.
They make it easier to build webpages that access, display, manipulate, and save data. You use these controls to configure access to data that you intend to use on a webpage.
Using these controls can provide development efficiency when you are building business applications that rely heavily on data. A data source can be a relational database, data stored inside of in-memory objects (such as a Data Set or an Entity Data Model), XML-based data, or data you retrieve via Microsoft Language-Integrated Query (LINQ).
To complete the lessons in this chapter, you should be familiar with developing applications with Microsoft Visual Studio 2010 by using Microsoft Visual Basic or Microsoft Visual C#.
In addition, you should be comfortable with all of the following: REAL WORLD: Mike Snell Not all applications require developers to write custom, abstracted data layers and reusable frameworks.
The second lesson in this chapter demonstrates how you can bind to data to allow users to interact with it.
The lesson covers using web server controls such as Grid View, Repeater, Details View, and many more.
Imagine having to deal with this sort of issue without the resources of shared knowledge.
So much time is wasted on crap like this that shouldn’t be happening in the first place, and which reduces the productivity that a powerful IDE like VS provides.
I’d really hate to total up the hours I spent tracking down some obscure Visual Studio bug or behavior in a year… Like you I wasted many hours working on the IDE versus developing solutions.
I’m sure it totals out to a full week of billable time. I have to run VS 2005 for a couple remaining legacy Share Point projects and have many issues with templates and more seriously, one of my projects could and would not resolve any of my references (even the System, System. Look forward to hearing your talks in Vegas this November.
If not go back and check the DBML file for duplicate names, mismatched XML etc.