[Mono-dev] Compiling a C# project with Xamarin Studio + MonoRuntime does not work.
sakirsoft at gmail.com
Sun Apr 20 16:23:09 UTC 2014
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
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list