Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnyCPU version of LINQpad v4/v5 cannot load Tx (LINQ to Logs and Traces) LINQpad driver #5

Open
Tuatan opened this issue Feb 4, 2016 · 2 comments

Comments

@Tuatan
Copy link
Collaborator

Tuatan commented Feb 4, 2016

LINQpad v4 AnyCPU edition cannot load Tx (LINQ to Logs and Traces) LINQpad driver.

It will show the following error:

Error instantiating type Tx.LinqPad.TxDataContextDriver in C:\ProgramData\LINQPad\Drivers\DataContext\4.0\Tx.LinqPad (3d3a4b0768c9178e)\Tx.LinqPad.dll

  • Could not load file or assembly 'file:///C:\ProgramData\LINQPad\Drivers\DataContext\4.0\Tx.LinqPad (3d3a4b0768c9178e)\Tx.SqlServer.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.

That is due to mismatch between the processor architecture of the Tx.SqlServer assembly and the processor architecture of the reference "LINQPad", the only workaround is to use x86 version of LINQpad v4 (default one).

@Tuatan Tuatan added the bug label Sep 21, 2016
@Tuatan Tuatan changed the title LINQpad v4 AnyCPU cannot load Tx (LINQ to Logs and Traces) LINQpad driver AnyCPU version of LINQpad v4/v5 cannot load Tx (LINQ to Logs and Traces) LINQpad driver Jun 6, 2017
@Tuatan
Copy link
Collaborator Author

Tuatan commented Jun 6, 2017

To fix that we need to create a separate AnyCPU build of Tx LinqPad driver w/o dependencies on Tx.SqlServer library that is being the culprit.

@Tuatan Tuatan added this to the 3.0 milestone Jun 6, 2017
@CIPop
Copy link
Member

CIPop commented May 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants