سؤال

We make some WCF service that uses Entity Framework (edmx file). Every time we make a change (even not related to the framework / DB), we have to delete the edmx and recreate it and build the solution on the server itself, otherwise it cannot interact with the SQL Server.

Why, and how to solve it ?

هل كانت مفيدة؟

المحلول

The problem was that we also copied the WhatEver.dll.config that contained the connection string (which was different between the development PC and the server).

We now simply fix the connection string if we overrun the file WhatEver.dll.config...

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top