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

问题描述




  • 只需更新到.NET 4.5框架与实体框架5.0,并在尝试构建时遇到以下错误:找不到要作为输入文件'E:\Builds\1\Mobooka v2\Mobooka.Services\Sources\Mobooka.DAL\Tracking.edmx'的资源嵌入的概念模式节点。 p>


  • 找不到要作为输入文件'E:\Builds\1 \Mobooka v2 \Mobooka.Services\\的资源嵌入的存储模式节点 \\ Sources\Mobooka.DAL\Tracking.edmx'。


  • 找不到嵌入作为输入文件'E:\\ \\Builds\1\Mobooka v2\Mobooka.Services\Sources\Mobooka.DAL\Tracking.edmx'。




只有通过google发现有3篇关于这个问题的帖子,没有一个提供解决方案。任何帮助将不胜感激。

解决方案

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

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

10-27 22:45