Just updated to .NET 4.5 framework with Entity Framework 5.0 and am getting the following errors when trying to build:
Could not find the Conceptual Schema node to embed as a resource for input file 'E:\Builds\1\Mobooka v2\Mobooka.Services\Sources\Mobooka.DAL\Tracking.edmx'.
Could not find the Storage Schema node to embed as a resource for input file 'E:\Builds\1\Mobooka v2\Mobooka.Services\Sources\Mobooka.DAL\Tracking.edmx'.
Could not find the Mapping node to embed as a resource for input file 'E:\Builds\1\Mobooka v2\Mobooka.Services\Sources\Mobooka.DAL\Tracking.edmx'.
Ive only found about 3 posts through google relating to this problem with none of them providing a solution. Any help would be appreciated.
Are you running into this problem when building on TFS?
If so, I experienced the same problem today:
Could not find the Conceptual Schema node to embed as a resource for input file ...
Could not find the Storage Schema node to embed as a resource for input file ...
Could not find the Mapping node to embed as a resource for input file ...
Our resident build expert informed me the TFS build server did not have .NET 4.5 loaded.
To resolve the problem, I set the project properties to .NET 4.0 instead of .NET 4.5, regenerated my EDMX file/service, and successfully built/checked-in.
Is .NET 4.5 installed on your server machine?
In my case, .NET 4.5 was not installed on the build server. Although @Mike's answer indicates that you can instead build against v4.0, simply installing the .NET framework 4.5 on the build server solved the issue for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With