generated code didn't run well in VS 2010

Posts   
 
    
Newer
User
Posts: 8
Joined: 25-Sep-2012
# Posted on: 26-Sep-2012 07:32:03   

I am working on northwind_exampleCS1 from homepage download. In VS2010, I have added necessary reference except SD.LLBLGen.Pro.QuerySpec as I don't have beta version. I am using LLBLGEN 3.0 and build is June 4 th,2010. in visual studio, I magetting below 19 errors.

1 Could not load referenced assembly "C\Example_NorthwindCS1\DAL\bin\Debug\Northwind.DAL.dll". Caught a FileNotFoundException saying "Could not load file or assembly 'C:\Example_NorthwindCS1\DAL\bin\Debug\Northwind.DAL.dll' or one of its dependencies. The system cannot find the file specified.". C\Example_NorthwindCS1\GUI\ResGen GUI 2 The type or namespace name 'DynamicQuery' could not be found (are you missing a using directive or an assembly reference?) C:\Example_NorthwindCS1\DAL\FactoryClasses\QueryFactory.cs 23 16 Northwind.DAL 3 The type or namespace name 'DynamicQuery' could not be found (are you missing a using directive or an assembly reference?) C:\Example_NorthwindCS1\DAL\FactoryClasses\QueryFactory.cs 31 16 Northwind.DAL 4 The type or namespace name 'DynamicQuery' could not be found (are you missing a using directive or an assembly reference?) C:\Example_NorthwindCS1\DAL\FactoryClasses\QueryFactory.cs 33 24 Northwind.DAL 5 The type or namespace name 'EntityQuery' could not be found (are you missing a using directive or an assembly reference?) C:\Example_NorthwindCS1\DAL\FactoryClasses\QueryFactory.cs 39 16 Northwind.DAL 6 The type or namespace name 'EntityQuery' could not be found (are you missing a using directive or an assembly reference?) C:\Example_NorthwindCS1\DAL\FactoryClasses\QueryFactory.cs 49 16 Northwind.DAL 7 The type or namespace name 'EntityQuery' could not be found (are you missing a using directive or an assembly reference?) C:\Example_NorthwindCS1\DAL\FactoryClasses\QueryFactory.cs 52 24 Northwind.DAL 8 The type or namespace name 'EntityQuery' could not be found (are you missing a using directive or an assembly reference?) C:\Example_NorthwindCS1\DAL\FactoryClasses\QueryFactory.cs 99 16 Northwind.DAL 9 The type or namespace name 'EntityQuery' could not be found (are you missing a using directive or an assembly reference?) C:\Example_NorthwindCS1\DAL\FactoryClasses\QueryFactory.cs 105 16 Northwind.DAL 10 The type or namespace name 'EntityQuery' could not be found (are you missing a using directive or an assembly reference?) C:\Example_NorthwindCS1\DAL\FactoryClasses\QueryFactory.cs 111 16 Northwind.DAL 11 The type or namespace name 'EntityQuery' could not be found (are you missing a using directive or an assembly reference?) C:\Example_NorthwindCS1\DAL\FactoryClasses\QueryFactory.cs 117 16 Northwind.DAL 12 The type or namespace name 'EntityQuery' could not be found (are you missing a using directive or an assembly reference?) C:Example_NorthwindCS1\DAL\FactoryClasses\QueryFactory.cs 123 16 Northwind.DAL .... etc

Any direction on how to fix this, please.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39910
Joined: 17-Aug-2003
# Posted on: 26-Sep-2012 09:56:26   

Examples are for v3.5. The example for 3.0 is available in the customer area in the 3.0 section.

It's recommended you upgrade to v3.5 however. It's a free upgrade for you, just download v3.5 from the customer area.

Frans Bouma | Lead developer LLBLGen Pro