Hardware & OS: Raspberry pi (Model B) & Soft-float Debian “wheezy”
Ok first thing I did was do a 'mono-complete' the install went smoothly. I ran some test and it worked great. the mono version was 2.10.8.x. I ran a simple ASP.net (NOT MVC) in XSP (& mono-fastcgi-server4) and it worked too. Then I tried a more complex version with a database (system.data.sqlite) that one did not go smooth but i figured my way out of that one.
So now I tried one version with sqlite + entity framework and shockingly (to me) it did not work. I tried so many different things. I couldn't figure it out. So I started looking on the web what could be possibly be wrong I realised that entity framework was added to mono in the latest (BETA, 3.0.1) version. this was version 3.0.1 So I downloaded this version and installed. it took forever and ever to install.
pi@raspberrypi ~ $ mono -V
Mono JIT compiler version 3.0.1 (tarball Sat Dec 1 01:10:37 AST 2012)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)
But it installed. I did some test(in csharp interactive compiler) and it seemed to be OK. While it was building/compiling/installing I did see plenty of warnings. I don't know if this is normal. Else i would expect an error and it has to immediately stop.
Ok Here is my problem now: I tried to run a simple website and see this in the browser:
Compilation Error
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.
Compiler Error Message: CS1703: An assembly with the same identity `mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Consider removing one of the references
Show Detailed Compiler Output:
dmcs /target:library /lib:"/var/www/dotnet/Adwen/Bin" /debug+ /optimize- /warn:4 /out:"/tmp/root-temp-aspnet-0/624d0ef6/App_Code.1da3d18.dll" /r:"/var/www/dotnet/Adwen/Bin/myTest.dll" /r:"/var/www/dotnet/Adwen/Bin/Adwen.dll" /r:"/var/www/dotnet/Adwen/Bin/myTestModel.dll" /r:"/var/www/dotnet/Adwen/Bin/System.Data.Entity.dll" /r:"/var/www/dotnet/Adwen/Bin/System.Data.SQLite.Linq.dll" /r:"/var/www/dotnet/Adwen/Bin/System.Data.SQLite.dll" /r:"/var/www/dotnet/Adwen/Bin/System.Web.Entity.dll" /r:"/var/www/dotnet/Adwen/Bin/TechInfoSystems.Data.SQLiteProvider.dll" /r:"/usr/lib/mono/4.0/mscorlib.dll" /r:"/usr/lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll" /r:"/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll" /r:"/usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll" /r:"/usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll" /r:"/usr/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll" /r:"/usr/lib/mono/gac/System.Web.Services/4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll" /r:"/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll" /r:"/usr/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll" /r:"/usr/lib/mono/gac/System.EnterpriseServices/4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll" /r:"/usr/lib/mono/gac/System.IdentityModel/4.0.0.0__b77a5c561934e089/System.IdentityModel.dll" /r:"/usr/lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll" /r:"/usr/lib/mono/gac/System.Xaml/4.0.0.0__b77a5c561934e089/System.Xaml.dll" /r:"/usr/lib/mono/gac/System.ServiceModel/4.0.0.0__b77a5c561934e089/System.ServiceModel.dll" /r:"/usr/lib/mono/gac/System.ServiceModel.Web/4.0.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll" /r:"/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll" /r:"/usr/lib/mono/gac/System.Web.Extensions/4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll" /r:"/usr/lib/mono/gac/System.Data.DataSetExtensions/4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll" /r:"/usr/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll" /r:"/usr/lib/mono/gac/System.ComponentModel.DataAnnotations/4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll" /r:"/usr/lib/mono/gac/System.Web.DynamicData/4.0.0.0__31bf3856ad364e35/System.Web.DynamicData.dll" /r:"/usr/lib/mono/gac/System.Data.Linq/4.0.0.0__b77a5c561934e089/System.Data.Linq.dll" /r:"/usr/lib/mono/gac/System.Web.ApplicationServices/4.0.0.0__31bf3856ad364e35/System.Web.ApplicationServices.dll" /r:"/var/www/dotnet/Adwen/bin/System.Data.SQLite.dll" /r:"/var/www/dotnet/Adwen/bin/System.Data.Entity.dll" /r:"/tmp/root-temp-aspnet-0/32404ce1/assembly/shadow/3f3d66bb/989bd275_a7a6b4ce_00000002/myTest.dll" /r:"/tmp/root-temp-aspnet-0/32404ce1/assembly/shadow/5cf434e0/fb52802e_a7a6b4ce_00000002/Adwen.dll" /r:"/tmp/root-temp-aspnet-0/32404ce1/assembly/shadow/ca2786da/6d813214_a7a6b4ce_00000002/myTestModel.dll" /r:"/tmp/root-temp-aspnet-0/32404ce1/assembly/shadow/cee499b3/69422d7d_a7a6b4ce_00000002/System.Data.SQLite.Linq.dll" /r:"/tmp/root-temp-aspnet-0/32404ce1/assembly/shadow/b7cd78f2/106bcc3c_a7a6b4ce_00000002/System.Web.Entity.dll" /r:"/tmp/root-temp-aspnet-0/32404ce1/assembly/shadow/5f634169/f8c5f5a7_a7a6b4ce_00000002/TechInfoSystems.Data.SQLiteProvider.dll" /d:DEBUG -- "/tmp/root-temp-aspnet-0/624d0ef6/App_Web_285c26e8_0.cs" "/tmp/root-temp-aspnet-0/624d0ef6/App_Web_285c26e8_1.cs" "/tmp/root-temp-aspnet-0/624d0ef6/App_Web_285c26e8_2.cs" "/tmp/root-temp-aspnet-0/624d0ef6/App_Web_285c26e8_3.cs" "/tmp/root-temp-aspnet-0/624d0ef6/App_Web_285c26e8_4.cs"
error CS1703: An assembly with the same identity `mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Consider removing one of the references
mscorlib.dll (Location of the symbol related to previous error)
/usr/lib/mono/4.0/mscorlib.dll (Location of the symbol related to previous error)
error CS1703: An assembly with the same identity `System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Consider removing one of the references
/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll (Location of the symbol related to previous error)
System.dll (Location of the symbol related to previous error)
error CS1703: An assembly with the same identity `System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Consider removing one of the references
/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll (Location of the symbol related to previous error)
System.Xml.dll (Location of the symbol related to previous error)
error CS1703: An assembly with the same identity `System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Consider removing one of the references
/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error)
System.Core.dll (Location of the symbol related to previous error)
error CS1703: An assembly with the same identity `Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has already been imported. Consider removing one of the references
/usr/lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll (Location of the symbol related to previous error)
Microsoft.CSharp.dll (Location of the symbol related to previous error)
Version information: Mono Runtime Version: 2.10.8.1 (Debian 2.10.8.1-5); ASP.NET Version: 4.0.30319.1
if you noticed at the bottom the error you can clearly see 'Version information: Mono Runtime Version: 2.10.8.1 (Debian 2.10.8.1-5); ASP.NET Version: 4.0.30319.1' I was expecting to see another runtime version.
So where do I proceed from here? Is this a bug? Did the install go wrong? another xsp version? Should I install again? can I fix this? It could be anything so let me ask before i waste a lot of time and effort into it.