v5.5

Posts   
 
    
smurrell
User
Posts: 59
Joined: 22-Feb-2007
# Posted on: 04-Feb-2019 17:29:50   

Hello

I trust this message finds you well. I just updated to 17 JAN build for v5.5. When I regenerated my code I got the following two errors on my ASP.NET Core application:

**Severity Code Description Project File Line Suppression State Error CS1061 'IEntityFactory2' does not contain a definition for 'ForEntityType' and no accessible extension method 'ForEntityType' accepting a first argument of type 'IEntityFactory2' could be found (are you missing a using directive or an assembly reference?) **

AND

**Severity Code Description Project File Line Suppression State Error CS0115 'EntityFactoryBase2<TEntity>.ForEntityType': no suitable method found to override **

How do I fix these two issues?

Regards, Simon

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 04-Feb-2019 19:51:27   

Most probably you forgot to reference the 5.5. runtime libraries in all projects in your solutions. Whether the generated projects or others consuming them.

smurrell
User
Posts: 59
Joined: 22-Feb-2007
# Posted on: 05-Feb-2019 07:14:24   

Walaa wrote:

Most probably you forgot to reference the 5.5. runtime libraries in all projects in your solutions. Whether the generated projects or others consuming them.

I backed up and then deleted the project output completely. Then just recreated the projects again and they worked 100%.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 05-Feb-2019 07:15:23   

Good to know that it worked.

For more info about Compiling the code, check this documentation's section.

David Elizondo | LLBLGen Support Team