[Mono-aspnet-list] Linq libraries missing?

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Mon Apr 6 12:59:22 EDT 2009


Then you likely have System.Linq.dll on your local machine from some
strange ways (e.g. copied from System.Core.dll and installed to the GAC
by yourself, or copied from older beta .net versions).

Try this: gacutil2 -l System.Linq

and if there is one, remove it away (gacutil2 -u <full name>). Then
the local machine will report the same (correct) error as the server
shows.

"gmcs -r:System.Linq ..." should not compile any sources (unless you
really have such assembly).

Atsushi Eno

Mark DevGood wrote:
> Yes I agree with you. However bear in mind that my script works perfectly
> fine on my local machine, and its only on my server that using the SAME
> compile script it reports that it cannot location System.Linq nor
> System.Xml.Linq. This tells me that its not a problem with my compile script
> but with the server. Could this be?
> 
> 
> Atsushi Eno-3 wrote:
>> There is no such assembly, System.Linq.dll. There is System.Core.dll
>> instead. You should not need to specify it though.
>>
>> Atsushi Eno
>>
>> Mark DevGood wrote:
>>> When I try to compile my asp.net website on the server it is complaining
>>> that
>>> it cannot find the Linq libraries.
>>>
>>> My Script:
>>> gmcs /t:library /out:bin/website.dll -pkg:dotnet -r:System.Linq
>>> <filenames
>>> to compile...>
>>>
>>> If I include the '-r:System.Linq' part or -r:System.Xml.Linq' it seems to
>>> make no difference. I thought these Linq libraries should be included in
>>> my
>>> server Mono2.2 installation by default as they seem to be there on my
>>> local
>>> machine which also has Mono2.2 installed. Any idea how to fix?
>>>
>>>
>> _______________________________________________
>> Mono-aspnet-list mailing list
>> Mono-aspnet-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>>
>>
> 



More information about the Mono-aspnet-list mailing list