Linq to Entities strange deploying behavior.

Posted by SO give me back my rep on Stack Overflow See other posts from Stack Overflow or by SO give me back my rep
Published on 2010-03-24T18:15:27Z Indexed on 2010/03/24 18:23 UTC
Read the original article Hit count: 187

Filed under:
|
|
|

Hi I started building apps with this technology and I am facing a weird problem... on some machines I need to add theese lines to the app.config to get to work:

  <system.data>
    <DbProviderFactories>
      <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.3.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
    </DbProviderFactories>
  </system.data>

while in other machines it runs well without theese lines.... the thing is that when I add theese lines the app wont run on machines that did not needed theese lines in the firs place, and I would like not to publish to versions of the app, is there a way to solve this?

© Stack Overflow or respective owner

Related posts about l2e

Related posts about entity-framework