builiding with mono develop

14 views
Skip to first unread message

Sharique

unread,
May 8, 2009, 8:47:50 AM5/8/09
to DbLinq
Hi,

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)]

--
Sharique

Pascal Craponne

unread,
May 8, 2009, 8:56:46 AM5/8/09
to dbl...@googlegroups.com
Apparently the generated assembly DbLinq.MySql isn't signed.

Jonathan Pryor

unread,
May 8, 2009, 9:35:45 AM5/8/09
to dbl...@googlegroups.com

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


Sharique

unread,
May 8, 2009, 9:54:52 AM5/8/09
to DbLinq


On May 8, 5:56 pm, Pascal Craponne <pic...@gmail.com> wrote:
> Apparently the generated assembly DbLinq.MySql isn't signed.
>
How to fix it?
Reply all
Reply to author
Forward
0 new messages