SilverlightArcade.SilverSprite.Core & mscorlib conflict

Apr 10, 2010 at 3:15 PM

Hello,

First thanks for this awesome library! I am trying to port my engine to Silversprite but one of the problems I have has to do with the [Serializable] Attribute whigh is in mscorlib aswell as SilverlightArcade.SilverSprite.Core . Removing mscorlib gave me more errors so that isn't the solution. What should I do to solve this? I really need to keep the Serializable attribute in there.

Thanks in advance,

Wouter

Coordinator
Apr 10, 2010 at 8:29 PM

Which version of Silverlight are you running on?

Apr 10, 2010 at 8:56 PM

I am using the Silverlight 3 SDK. But it turned out my Visual Studio 2008 installation is broken somehow. Trying to get that fixed first now.

Apr 11, 2010 at 8:25 PM

Alright I'm backup again after some serious issues with Visual studio :P

Well I noticed there are two versions of mscorlib;


Silverlight 3
Version:    2.0.5.0
path:        c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v3.0\mscorlib.dll


.NET ?
version:    2.0.0.0
path:        C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll


These both have a different implementation of Serializable.
I am digging into it myself too now :)

Thanks in advance!