Problem Compiling Code From Tutorial

Posts   
 
    
spryguy
User
Posts: 2
Joined: 06-Mar-2007
# Posted on: 06-Mar-2007 21:20:39   

I am using VS 2005, .NET Framework v.2, and LLBLGen Pro Version 2.0.0.0. I've been following along in the tutorials and I run into a compile error in attempting to complete the tutorial on compiling generated code in VS. Below is the error I receive.

Error 4 The type or namespace name 'ComPlusAdapterContextBase' could not be found (are you missing a using directive or an assembly reference?) C:\My Documents\LLBLGen Pro Projects\Test3\DatabaseSpecific\DataAccessAdapter.cs 688 47 NorthwindDBSpecific

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 06-Mar-2007 21:47:50   

You generated using the CF.NET platform perhaps? Please select the right platform in the code generation dialog.

Frans Bouma | Lead developer LLBLGen Pro
spryguy
User
Posts: 2
Joined: 06-Mar-2007
# Posted on: 07-Mar-2007 19:30:37   

It was actually a reference problem. Since I never had a previous version of LLBLGen installed I just skipped the part about removing and adding references. Everything's fine now.

Thanks.