[Mono-dev] MD not packaging binaries correctly though it could be mono at fault

Alan McGovern alan.mcgovern at gmail.com
Sun Nov 30 15:25:42 EST 2008

Ah, now this i have seen before. I think the problem is that when you
compile in resources with mono, the namespace isn't prefixed. So if
you compile in "foo.bmp", in mono you access it with "foo.bmp". If you
compile with VS, it appends a namespace by default, so you access with
"MyApplication.Resources.foo.bmp" or something like that.

I hit this issue a long enough time ago, so I don't remember the
specifics really. It'd be worth filing a bug report on this if this
really is the issue.


2008/11/30 Paul <paul at all-the-johnsons.co.uk>:
> Hi,
>> What error? You're too vague with what is going wrong for a solution
>> to be proposed.
> On Linux, the binary compiles without an issue and other than not having
> focus (so the game can't actually be played), it runs without issue.
> If I transfer the binary to a windows box, the game starts, but as soon
> as you click "Start Game", an error comes up saying that a resource file
> is missing (it is the background for the game area).
> If the source is then rebuilt using VS 2005 or 2008, the resulting
> binary works without issue under both Win32 and Linux.
> I'm unsure if the resource file problem is a resgen issue or an MD
> issue. The keys one is a winforms problem.
> Paul
> --
> Sie können mich aufreizen und wirklich heiß machen!
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list