Fix Missing Microsoft.VisualBasic 2.0.0.1 Errors
If you receive an error resulting from a missing Microsoft.VisualBasic 2.0.0.1 file when attempting to run a project from the Chapter01 folder or other early chapter folders, do the following:
1. Right-click the project entry in Solution Explorer and choose Properties to open the tabbed Properties window.
2. Click the References tab.
3. If a Microsoft.VisualBasic item is present and its check box is marked in the Imported Namespaces list, clear the check box.
4. Build and run the project.
The next time you open the project, the item (a User Import for a Visual Basic 9.0 ["Orcas"] LINQ preview version) should be missing from the list.
See the message regarding the OleDBDataObjects.sln project for more details on this issue.
Sorry for the inconvenience,
--rj
|