Missing references

Posts   
 
    
bentos
User
Posts: 146
Joined: 12-Jul-2006
# Posted on: 25-Aug-2006 11:47:34   

I recently started a new project, following generation of that created project, it had a few missing references (I originally compiled it using compact framework version 2 by mistake, then changed it to.net version 2 on realising if that makes any difference? I doubt it)

Anyway, I added in the references , and browsed for the enterprise services reference, but I'm still getting the following error on compile (what other reference do I need to include?)

Have I missed a setting? Is this a known issue with the generator that it occasionally misses references?

Error The base class or interface 'System.ContextBoundObject' in assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' referenced by type 'System.EnterpriseServices.ServicedComponent' could not be resolved c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.EnterpriseServices.dll

Error The type or namespace name 'TransactionComPlusBase' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\matt\My Documents\LLBLGen Pro Projects\xxxxxx\HelperClasses\TransactionComPlus.cs 25 Thanks,

Matthew

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 25-Aug-2006 15:48:33   

You generated the code against which platform? (Target Platform in the "CONFIGURE THE CODE GENERATION PROCESS" window)

Make sure your generated projects reference the correct LLBLGenPro runtime libraries versions (corresponding to the target platform)

bentos
User
Posts: 146
Joined: 12-Jul-2006
# Posted on: 25-Aug-2006 17:16:08   

.net version 2, although I initially selected compact framework 2

I have regenerated a clean project in a new folder and it works first time, this is either visual studio or some strange problem?

Either way, I can continue, thanks