When I installed mysql-connector--net it did not seem to install the library in the gac properly. I cannit see it in the reference dialog box in monodevelop. Also when I go gacutil -l it list the file as installed. If I go gacutil -u MySql.Data it syas it uninstalls the library but cannot find the file. When I go gacutil -i MySql.Data.dll it says "Failure adding assembly to the cache: The system cannot find the file specified" Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: MySql.Data should be installed to the global assembly cache properly.
You don't see it because monodevelop uses pkgconfig files to find libraries installed into the GAC. The real bug is the fact that no pkgconfig file is provided. The actual manner the assembly is installed into the GAC is fine. The issue is in the way monodevelop finds things in the gac. it does *not* just use the 'gacutil -l' output. Changing the subject of this bug accordingly. Ramereth: The pkgconfig file needed should have the Libs: item with a -r:/usr/$(get_libdir)/mono/${PACKAGE_NAME}/${PACKAGE_DLL} entry. To have that work, make sure when you call gacutil to install the lib you pass a valid -package option to it (can't check right now if you do that currently). Feel free to harass me via email/IRC if that isn't clear.
Fixed in CVS, thanks