Dlinq (Orcas March 2007) - Compilation Errors in Designer.cs

D

dejavue82

Does anybody know how to resolve the following errors? They were
caused by the designer.cs file that was auto-generated by the LINQ to
SQL designer. I am using the March 2007 Orcas CTP version of Visual
Studio.



Error 1 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 12 59 C:\...\test
\
Error 2 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 37 49 C:\...\test
\
Error 3 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 29 32 C:\...\test
\
Error 4 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 87 26 C:\...\test
\
Error 5 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 101 26 C:\...
\test\
Error 6 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 115 26 C:\...
\test\
Error 7 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 129 26 C:\...
\test\
Error 8 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 143 26 C:\...
\test\
Error 9 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 157 26 C:\...
\test\
Error 10 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 171 26 C:\...
\test\
Error 11 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 185 26 C:\...
\test\
Error 12 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 199 26 C:\...
\test\
Error 13 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 213 26 C:\...
\test\
Error 14 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 227 26 C:\...
\test\
Error 15 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 241 26 C:\...
\test\
Error 16 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 255 26 C:\...
\test\
Error 17 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 269 26 C:\...
\test\
Error 18 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 283 26 C:\...
\test\
Error 19 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 297 26 C:\...
\test\
Error 20 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 311 26 C:\...
\test\
Error 21 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 325 26 C:\...
\test\
Error 22 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 339 26 C:\...
\test\
Error 23 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 353 26 C:\...
\test\
Error 24 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 367 26 C:\...
\test\
Error 25 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 381 26 C:\...
\test\
Error 26 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 395 26 C:\...
\test\
Error 27 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 409 26 C:\...
\test\
Error 28 The type or namespace name 'Linq' does not exist in the
namespace 'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 36 22 C:\...\test
\
 
W

wildThought

Doesanybody know how to resolve the following errors? They were
caused by the designer.cs file that was auto-generated by theLINQto
SQL designer. I am using the March 2007 Orcas CTP version of Visual
Studio.

Error 1 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 12 59 C:\...\test
\
Error 2 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 37 49 C:\...\test
\
Error 3 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 29 32 C:\...\test
\
Error 4 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 87 26 C:\...\test
\
Error 5 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 101 26 C:\...
\test\
Error 6 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 115 26 C:\...
\test\
Error 7 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 129 26 C:\...
\test\
Error 8 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 143 26 C:\...
\test\
Error 9 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 157 26 C:\...
\test\
Error 10 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 171 26 C:\...
\test\
Error 11 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 185 26 C:\...
\test\
Error 12 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 199 26 C:\...
\test\
Error 13 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 213 26 C:\...
\test\
Error 14 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 227 26 C:\...
\test\
Error 15 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 241 26 C:\...
\test\
Error 16 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 255 26 C:\...
\test\
Error 17 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 269 26 C:\...
\test\
Error 18 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 283 26 C:\...
\test\
Error 19 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 297 26 C:\...
\test\
Error 20 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 311 26 C:\...
\test\
Error 21 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 325 26 C:\...
\test\
Error 22 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 339 26 C:\...
\test\
Error 23 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 353 26 C:\...
\test\
Error 24 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 367 26 C:\...
\test\
Error 25 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 381 26 C:\...
\test\
Error 26 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 395 26 C:\...
\test\
Error 27 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 409 26 C:\...
\test\
Error 28 Thetypeornamespacename'Linq'doesnotexistin thenamespace'System.Data' (are you missing an assembly reference?) C:
\Documents and Settings\HP_Administrator\My Documents\Visual Studio
Codename Orcas\WebSites\test\App_Code\The.designer.cs 36 22 C:\...\test
\

Just go to reference in your solution browser and right click to add
reference. Browse to the Windows Directory/ Microsoft.Net/Frameowrk/
v3.5.20209
and find the missing dll and add it. Presto, you are there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top