[Opensim-dev] head doesn't compile

Laurent laurent.bourgeois at gmail.com
Thu Mar 4 16:30:38 UTC 2010


Hello,

It's compiling fine using Visual Studio 2008 IDE - The problem seems to come
from the System.Runtime.CompilerServices.ExtensionAttribute which is defined
in both System.Core.dll and BclExtras (although it is internal, I checked
under Reflector :/) The MSBuild utility seems to struggle dealing with it,
but I may be wrong.

What is strange is that BclExtras has not been added recently, and seems to
be only usefull to get a Singleton object in the OpenSim.Framework assembly.
It's referenced but not used at all in ClientStack.LindenUDP.

VoilĂ , hoping it might help a bit...
Laurent.
2010/3/4 Justin Clark-Casey <jjustincc at googlemail.com>

> diva at metaverseink.com wrote:
>
>> Head doesn't compile under Windows since yesterday. Justin or JHurliman --
>> one of your commits did it. I already spent 1 hour trying to figure the
>> problem out, including reinstalling .NET, without success. The problem has
>> been confirmed by others. Please see to this urgently. Thanks.
>>
>
> The Windows build failure occurs because of patch 61a63ff.  It is
> characterized by the error in Microsoft Visual C# 2008 Express
>
> "C:\OPENSIM_GIT\opensim_NEW\opensim.sln" (default target) (1) ->
> "C:\OPENSIM_GIT\opensim_NEW\OpenSim\Framework\OpenSim.Framework.csproj"
> (default target) (6) ->
> (CoreCompile target) ->
>  CSC : error CS0656: Missing compiler required member
> 'System.Runtime.Compiler.Services.ExtensionAttribute..ctor'
>
> when compiling in OpenSim.Framework.  A quick google suggests some kind of
> problem with this not being supported until .NET 3.5, though I think all our
> stuff is switched to that now.
>
> Reverting this patch temporarily does allow OpenSim to compile again but
> Diva wasn't to actually understand what's going wrong :D - so I'm sure there
> will be a better solution soon.
>
> By the way, this wasn't my change ;), but if I was doing it I would have
> fallen into the same issue.
>
> --
> Justin Clark-Casey (justincc)
> http://justincc.org
> http://twitter.com/justincc
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20100304/f03c8008/attachment-0001.html>


More information about the Opensim-dev mailing list