实体框架模型中缺少源文件 [英] Source file is missing in entity framework model

查看:71
本文介绍了实体框架模型中缺少源文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨frnds,

Hi frnds,

Source file ''C:\Edu\Education\Education\EFModels\Sector.cs'' could not be opened (''Unspecified error '')





我在TFS项目中检查后出现这些错误。此错误显示文件丢失,它放在实体框架模型文件夹(Model.tt)中...



任何人都可以解决这个问题并给我一个解决方案。



谢谢

Vivek



I got these error after check in the project in TFS. This error shows file missing, which is placed in entity framework model folder(Model.tt)...

Can anyone rectify this problem and give me a solution.

Thanks
Vivek

推荐答案

您是否正确检入了文件?

尝试删除文件然后再将其添加到TFS - 这可能有助于您解决问题!
Did you check in the file correctly?
Try deleting the file and then adding it again to TFS - it might help you fix the problem!


这篇关于实体框架模型中缺少源文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆