且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到作为输入文件资源嵌入的概念模式节点

更新时间:2023-11-17 22:43:04

在TFS上构建时是否遇到这个问题?



如果是这样,我今天遇到了同样的问题:

 没有找到要嵌入作为输入文件的资源的概念模式节点... 
找不到作为输入文件资源嵌入的存储模式节点...
找不到映射节点嵌入作为输入文件的资源...

我们的驻留构建专家通知我TFS构建服务器没有加载.NET 4.5。



要解决问题,我将项目属性设置为.NET 4.0而不是.NET 4.5,重新生成了我的EDMX文件/服务,并成功构建/签入。


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.