本文介绍了需要帮助保持.dll的升级的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好,



我有从我们的Entity Framework项目引用.dll'的WCF服务,我已经将WCF发布到我们的一个服务器上。但是,无论何时我们在Entity项目上进行迁移,WCF都会在调用时开始发送错误。它告诉我们自创建数据库以来支持上下文的模型已经改变。如果我将这些.dll'再次复制到WCF服务并再次发布我没有问题。有没有更简单的解决方案?



提前谢谢。

解决方案



Good Morning,

I have WCF service that references .dll''s from our Entity Framework project and I have published the WCF to one of our servers. However whenever we do a migration on the Entity project the WCF starts sending errors whenever called. Its telling us the model backing the context has changed since the database was created. If I copy those .dll''s again to the WCF Service and publish again I have no problems. Is there any easier solution?

Thanks in advance.

解决方案



这篇关于需要帮助保持.dll的升级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 05:56