本文介绍了找不到概念模式节点嵌入作为输入文件资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚更新到.NET 4.5框架,实体框架5.0和尝试建立时,我收到以下错误:

Just updated to .NET 4.5 framework with Entity Framework 5.0 and am getting the following errors when trying to build:


  • 找不到概念模式节点嵌入作为输入文件的资源。E:\\构建\\ 1 \\ Mobooka V2 \\ Mobooka.Services的\\ Sources \\ Mobooka.DAL \\ Tracking.edmx

  • 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'.

找不到存储架构节点嵌入作为输入文件的资源。E:\\构建\\ 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'.

找不到Mapping节点嵌入作为输入文件的资源。E:\\构建\\ 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'.

伊夫只发现通过谷歌关于这个问题,他们没有提供解决方案约3职位。任何帮助将是AP preciated。

Ive only found about 3 posts through google relating to this problem with none of them providing a solution. Any help would be appreciated.

推荐答案

您遇到了此问题上的TFS构建什么时候?

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 ...

告诉我的TFS构建服务器我们的居民构建专家没有.NET 4.5加载。

Our resident build expert informed me the TFS build server did not have .NET 4.5 loaded.

要解决这个问题,我设置了项目属性到.NET 4.0,而不是.NET 4.5,再生我的EDMX文件/服务,并成功建造/签入

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.

这篇关于找不到概念模式节点嵌入作为输入文件资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!