On Fri, 2009-05-08 at 05:47 -0700, Sharique wrote:
> I have checked out latest source from svn and trying to build using
> Monodevelop 2.0, I'm getting this error.
> [Task:File=, Line=0, Column=0, Type=Error, Priority=Normal,
> Description=Friend access was granted to `DbLinq.MySql,
> PublicKeyToken=61e015a67077348b', but the output assembly is named
> `DbLinq.MySql, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
> Try adding a reference to `DbLinq.MySql,
> PublicKeyToken=61e015a67077348b' or change the output assembly name to
> match it(CS0281)]

This is (sadly) a MonoDevelop bug:

        https://bugzilla.novell.com/show_bug.cgi?id=484752

The fix is to, first, use the DbLinq_StudioExpress.sln solution, and
second, within MonoDevelop, go to the Project Options dialog (e.g.
right-click the DbLinq.MySql project and click Options), navigate to the
Build / Assembly Signing node in the tree, check the Sign this assembly
checkbox, click Browse, and select src/DbLinq.snk file.

Repeat for ~all assemblies. :-(

Once you've done that, it should build.

What might not build are the tests; I was hitting an internal compiler
error the last time I tried.  The bugs should be fixed now in svn-trunk,
but if you're running an older Mono version you may encounter problems.

 - Jon



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to