LinuxDoku / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

Does not work on Linux due to System.Data.SQLite.DLL "DLL" capitalization #157

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I was having problems getting Migrator.NET working on Ubuntu 10.04 with Mono 
2.6.7 with SQLite due to the capitalization of the System.Data.SQLite.DLL 
assembly.

The diff for my simple fix (which solved my problems) can be found at: 
http://github.com/remi/migratordotnet/commit/4dedd33aa1c7513e73123eb5b68d661bea5
a0b69

What steps will reproduce the problem?
1. Try using Migrator.NET on Linux

What is the expected output? What do you see instead?

If I compile a C# file using csc and reference System.Data.SQLite.DLL, I get:
  cannot find metadata file `System.Data.SQLite.DLL'

If I change the capitalization of System.Data.SQLite.DLL to 
System.Data.SQLite.dll, I get:
  Unhandled Exception: System.DllNotFoundException: System.Data.SQLite.DLL

What version of the product are you using? On what operating system? With what 
.NET implementation/version?
  Ubuntu 10.04 with Mono 2.6.7

What database and version are you seeing this issue on?
  SQLite

Please provide any additional information below.

Recompiling after applying the diff linked to above solved my problems!

Original issue reported on code.google.com by remitay...@gmail.com on 19 Sep 2010 at 7:16