Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > General> .NET 4.0 ?
 

Pages: 1
General
.NET 4.0 ?
Page:1/1 

  Print all messages in this thread  
Poster Message
gj1118
User



Location:

Joined on:
21-Jul-2010 15:49:37
Posted:
30 posts
# Posted on: 22-Sep-2010 03:11:40.  
HI All,

4 days ago , I bought LLBLGEN Pro .
Since then I have been trying to use , LLBLGEN with .NET 4.0
but everytime the compiler rants about

Error    1    The type or namespace name 'LinqSupportClasses' does not exist in the namespace 'SD.LLBLGen.Pro' (are you missing an assembly reference?)    D:\sandbox1\vantive\Code\Linq\LinqMetaData.cs    11    22    Vantive.DataAccess.Layer

Error    4    The type or namespace name 'DataSource' could not be found (are you missing a using directive or an assembly reference?)    D:\sandbox1\vantive\Code\Linq\LinqMetaData.cs    107    10    Vantive.DataAccess.Layer


Likewise there are 12 other errors in the entire project .. I am using LLBLGen Pro Runtime Framework

I am using LLBLGEN 3.0
selfservicing mode ..

if anyone of you can help a poor hapless soul, please let me know .. was that emotional enough , or should i start something else Wink

take care buddies ..

With regards
gagan janjua
  Top
gj1118
User



Location:

Joined on:
21-Jul-2010 15:49:37
Posted:
30 posts
# Posted on: 22-Sep-2010 03:37:01. Goto attachments  
Am I missing something here ..

I downloaded the latest version of the software from the client area
and LLBLGEN will not open for me ..

it simply crashes.....

Please see the attached screenshot

Now, I am getting really anxious ...


  Top
daelmo
Support Team



Location:
Guatemala City
Joined on:
28-Nov-2005 23:35:24
Posted:
7626 posts
# Posted on: 22-Sep-2010 04:32:51.  
Hi Gagan,

1. From your first post, please check all references on your project are fine. See Compiling code... for more info.

2. Your second post, there is nothing attached. I don't receive complains about LLBLGen v3.0 installation so that should be something weird. Anyway, try unisnstall and install again. Remember to paste your license into your installation folder.

(Edit)
For your first post, please check this: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=14577&StartAtMessage=0&#81257
David Elizondo
LLBLGen'ing (articles and code snippets) | linkedin | twitter
 
Top
gj1118
User



Location:

Joined on:
21-Jul-2010 15:49:37
Posted:
30 posts
# Posted on: 22-Sep-2010 04:35:42. Goto attachments  
My bad ... i have uploaded the picture again ...

  Top
daelmo
Support Team



Location:
Guatemala City
Joined on:
28-Nov-2005 23:35:24
Posted:
7626 posts
# Posted on: 22-Sep-2010 04:43:14.  
Got it.

For your crash issue, Please try reinstall, if not, it must be something on our OS. Related thread (old, but could apply): http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=11200
David Elizondo
LLBLGen'ing (articles and code snippets) | linkedin | twitter
 
Top
gj1118
User



Location:

Joined on:
21-Jul-2010 15:49:37
Posted:
30 posts
# Posted on: 22-Sep-2010 04:50:24.  
As far as the crash is concerened , its happening everytime.. so i ghad to download and install and older version.. but tommorow will check it at work and then let u guys know about it ...

There is one more thing ..

Step 1:
I had generated the source code from an already existing database.. that code compiles fine ..

Step 2:
Created another Windows GUI app.. Added it to the same solution as the DataLayer created in Step 1 . Also added the project reference to the project created in step 1

Step 3:
now when i try to run the application it says,
Error    1    The type or namespace name 'VantiveData' could not be found (are you missing a using directive or an assembly reference?)    D:\sandbox1\vantive\UI\Vantive\WindowsFormsApplication1\Form1.cs    9    7    WindowsFormsApplication1

Please check the attached screenshot ..

I use the same process when working with VS 2008, and it works perfectly.. dont know why its not working with Vs2010


  Top
gj1118
User



Location:

Joined on:
21-Jul-2010 15:49:37
Posted:
30 posts
# Posted on: 22-Sep-2010 06:18:59.  
Thanks a lot.. i think i got this working ..
just remoted onto my work computer, where it is not crashing .. so the crash issue is local to my system .. like you pointed out..

and my other issues have been solved as well .. was just setting the wrong runtimes...

Thanks for your time and patience..

i am very sorry for having troubled you guys with such silly questions .... Regular Smiley
Note .. that does not mean i will stop here Laugh [kidding

thanks ....
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
34706 posts
# Posted on: 22-Sep-2010 10:02:44.  
If you select 'debug' in the crash window when the designer crashes, you can select 'new vs.net instance', if you select that, could you determine the stacktrace from the exception? (it's in the 'locals' window in vs.net)

Also, the topic is .net 4.0, do you run the designer by selecting the .net40 runner?


Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
gj1118
User



Location:

Joined on:
21-Jul-2010 15:49:37
Posted:
30 posts
# Posted on: 22-Sep-2010 17:37:27.  
Some more problems

At my work computer, I tried the following..

Please note that we use .NET Framework 4.0 @ work

Step 1: Went to the LLBLGEn install folder. from there clicked on LLBLGEN Pro 3.0 (on .NET 4.0)
Step 2: Connected to the existing database and then Generated code
Step 3: Created a new Winforms application.
Step 4: Added the project created in Step 2 to the solution created in Step 3
Step 5: Added the project reference.
Step 6: Now I would like to use something like the code below

Code:

        ProjectEntity proj = new ProjectEntity();
        proj.ProjectName="Some ProjectName";
        proj.Save();


Step 7: But unfortunately, there is no Save Method on the Project Entity...

Someone, please let me know, what might have happened.... This is the exact same process I was using in VS2008
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
34706 posts
# Posted on: 22-Sep-2010 18:13:36.  
You selected 'Adapter' as template group, while the 'Save' method is part of 'Selfservicing'. We support 2 different paradigms: one has the save method on the entity (Selfservicing), the other uses a dataaccessadapter object (adapter). Please see the runtime documentation http://www.llblgen.com/documentation/3.0/LLBLGen%20Pro%20RTF/hh_goto.htm#Concepts/concepts_templatesets.htm

to see the differences Regular Smiley


Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
gj1118
User



Location:

Joined on:
21-Jul-2010 15:49:37
Posted:
30 posts
# Posted on: 22-Sep-2010 18:54:24.  
Nope.. I am pretty sure, I chose the selfservicing option.
I tried that again, just to be double sure..but with the same result.. the save method is still not available for my entity

Please see the attached doc for screenshots
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
34706 posts
# Posted on: 22-Sep-2010 20:43:21.  
Ah, I see what's the problem: it's a method in the base class of the entity. Add:
using SD.LLBLGen.Pro.ORMSupportClasses;

to the top of the code file Regular Smiley


Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


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

Version: 2.1.12172008 Final.