Could not find the Storage Schema node to embed as a resource for input file

Posts   
 
    
ianvink
User
Posts: 393
Joined: 15-Dec-2006
# Posted on: 16-May-2018 18:18:07   

Using a new ASP.NET Core project based on .Net Framework 4.6.2 (not core) I added a Hello world EF 6 generated LLBL project. The Persistence project has an EDMX, but when I try to compile the project I get the errors:

_ Could not find the Storage Schema node to embed as a resource for input file : 'C:........\DexCAREP02.edmx'. App.Dex.CAREP02.Persistence C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Data.Entity.targets 101 _

Question: Do I I need to set up the project in a special way to generate ASP.NET Core friendly projects?

Attachments
Filename File size Added on Approval
Sample.zip 19,948 16-May-2018 18:18.18 Approved
ianvink
User
Posts: 393
Joined: 15-Dec-2006
# Posted on: 16-May-2018 18:40:24   

Solved it. Needed to add a "Provider manifest toke value" in Project Properties.

Not sure why, but it works now.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 16-May-2018 19:14:27   

It should give an error when that's not filled in. DId you get an error before code generation due to that?

Frans Bouma | Lead developer LLBLGen Pro
ianvink
User
Posts: 393
Joined: 15-Dec-2006
# Posted on: 16-May-2018 19:42:56   

I was showing a client LLBL, so created a simple solution, but didn't add any entities (forgot) and then generated the Model and Persistence projects. No warnings in this edge case.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 17-May-2018 09:36:48   

Ah! no model to validate so it doesn't trigger orm framework validation (which is ran after successful model validation), as it's of no use if the model validation of the designer fails.

Indeed an edge case, thanks for clarifying! simple_smile

(and sorry for the inconvenience it might have caused, as you showed our work to a client.... )

Frans Bouma | Lead developer LLBLGen Pro
ianvink
User
Posts: 393
Joined: 15-Dec-2006
# Posted on: 17-May-2018 15:48:56   

They will be buying a licence. Wonderful product.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 17-May-2018 16:55:58   

ianvink wrote:

They will be buying a licence. Wonderful product.

Thanks Ian! smile

Frans Bouma | Lead developer LLBLGen Pro