0
votes

When I compile a simple web application on my machine it works without problems. However when I publish to the server always gives me the following error: Could not load type 'System.Collections.Generic.Dictionary `2' from assembly 'mscorlib, Version = 4.0.0.0,

In my local machine I have the following directory that does not exist on the server: /usr/lib/mono/4.0/

I've tried to install gtk-sharp-2.12.11 but in the end gives the following error: Requested 'gtk + -2.0> = 2.12.0' but version of GTK + is 2.10.4

Please help me Thanks Paulo Santos

1

1 Answers

0
votes

The gtk# binding, in its version 2.12, simply depends on gtk+ version 2.12.

You need to upgrade your Fedora if you want to use that version.

However, take in account that the gtk platform is only useful for desktop development, not web development, so I think you're mixing things up.

Try installing the "dmcs" compiler in Fedora. (You may have a very old version of Mono that doesn't include this 4.0-profile compiler, what version of Mono do you have installed?)