[Mono-dev] Compiling a C# project with Xamarin Studio + MonoRuntime does not work.

Vardar Sahin sakirsoft at gmail.com
Sun Apr 20 16:23:09 UTC 2014


Hi Guys,

I have a C# project which compiles just fine with Visual Studio. It also
compiles when I use Xamarin Studio and the .Net runtime. But when I choose
to use the MonoRuntime it does not compile anymore.

I am using the current version of Xamarin Studio ( 4.2.3 ). Interesting is
that when I use an older Version of Xamarin Studio ( 4.1.9 ) + MonoRuntime
it works.

I am on Windows and use the latest stable version of mono ( 3.2.3 ).

The compiler error I get is the following.

*Error CS0433: The imported type `System.Action<T1,T2>' is defined multiple
times (CS0433) *

Also I have a Warning like this

*Warning CS1685: The predefined type
`System.Runtime.CompilerServices.ExtensionAttribute' is defined multiple
times. Using definition from `mscorlib.dll' (CS1685) *

The signature of the function where the error occurs is this.

*private void ApplyCollision(ulong goId, CollisionData data,
Action<ICollisionListener, Collision> func)*


Any ideas how to fix this?

Best
Sahin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140420/96e4c9a9/attachment.html>


More information about the Mono-devel-list mailing list