Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Bugs & Issues> Problem with build code
 

Pages: 1
Bugs & Issues
Problem with build code
Page:1/1 

  Print all messages in this thread  
Poster Message
nasavin
User



Location:

Joined on:
16-Sep-2007 12:57:32
Posted:
2 posts
# Posted on: 16-Sep-2007 13:08:55.  
Hi, i have a following problem.

I have download and install LLBLgen 2.5 Final Demo, released on August 28th 2007.
I've created project and using MsAcces DB and i generated code (self servicing, C#, .NET 2.0).
I tryed to build this code in Visual Studio by i got a following error:

Error    1    The type or namespace name 'EntityType' does not exist in the namespace 'test3' (are you missing an assembly reference?)    C:\Documents and Settings\Administrator\My Documents\LLBLGen Pro Projects\t3\FactoryClasses\EntityFactories.cs    30    17    test3

I didn't change anything in project and i have added references to SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll and SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll properly.

I tryed the same steps on two computers and i got the same error.

Some sugestions?

Nasavin
(Please excuse my poor engish Regular Smiley


  Top
JimHugh
User



Location:
Davis, CA
Joined on:
16-Nov-2005 14:32:25
Posted:
191 posts
# Posted on: 16-Sep-2007 16:46:56.  
For an Access mdb file you need to reference the SD.LLBLGen.Pro.DQE.Access.NET20.dll and not SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll

Jim Hughes  Top
nasavin
User



Location:

Joined on:
16-Sep-2007 12:57:32
Posted:
2 posts
# Posted on: 18-Sep-2007 09:42:44.  
JimHugh wrote:
For an Access mdb file you need to reference the SD.LLBLGen.Pro.DQE.Access.NET20.dll and not SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll


thanx, yes of course,
i used SD.LLBLGen.Pro.DQE.Access.NET20.dll, but i did error when I wrote this question, because i tried to use SqlServer also, but it didn't work too.

I've instaled llblgen 2.0 back and it works fine Regular Smiley

I will finish current project on this older version.
  Top
Pablo
User



Location:
Sneek
Joined on:
21-Mar-2005 01:17:52
Posted:
81 posts
# Posted on: 21-Sep-2007 13:52:45.  
Hello,

'EntityType' is defined in the generated file 'ConstantsEnums.cs'

If you look in this file which namespase it has, then you probably see its a namespace that you're probably not 'using'.

If you add this namespace using a 'using <namespace>' its probably all ok again.

Hope this was your problem ...

Paul


  Top
jturpin
User



Location:

Joined on:
30-May-2007 14:59:33
Posted:
20 posts
# Posted on: 26-Sep-2007 20:28:17.  
Please note that this is a template issue, it was discussed here:
http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=11226&HighLight=1

  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14470 posts
# Posted on: 27-Sep-2007 11:50:25.  
jturpin wrote:
Please note that this is a template issue, it was discussed here:
http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=11226&HighLight=1

Thanks jturpin.
nasavin, would you please try again using the latest available build/version?
Thanks.


  Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.