[Mono-list] How do i tell Mono (for ASP.NET, C#) where to find MySQL.Data.MySqlClient

Peter Bradley P.Bradley at dsl.pipex.com
Mon Oct 23 14:19:59 EDT 2006


Ysgrifennodd Dick Steflik:
> Peter,
> OK, I've read the documentaion on Mono Assemblies and the GAC and feel 
> reasonably comfortable with it. One thing it doesn't say is "what an 
> assembly is"  I guess I know that a .dll an be an assembly but are 
> there other things that are assemblies?

Yeah.  Just think of them as being DLLs and EXE files.  If you need to 
get more sophisticated than that, you'll know it!

>
> When I put the .dll (MtSql.Data.dll in ny application /bin directory, 
> everything works OK ; but when I remove it and put the reference in 
> web.config  (just like Robert said to the compiler can't find it.

You must refer to the correct strong name.  Try reading this:

http://www.c-sharpcorner.com/Code/2003/March/StrongNamedAssemblies.asp

It's windows-centric, so substitute your Linux paths for Windows paths &c



Peter


More information about the Mono-list mailing list