Microsoft Unity 2.1 for Silverlight 5 ?

Feb 27, 2013 at 9:09 PM
I've just asked the people from Prism.--
Does anybody from the p&p team knows, if there will be ever a version of Unity compilied agains SL5?
The library Microsoft.Practices.Unity.Silverlight is still using the mscorlib of 2.0.

If I'm using PRISM and the EntLib Integration Pack I get code analysis problems (VS2010) , because of the different versions of mscorlin (2.0 and 4.0)
The company I'm working for don't allow to deactivate the code analysis.

Unity 3.0 seems only to support WinRT.
Do you think it is possible to complile the sources of Unity 2.1 for Silverlight with the correct Silverlight 5.0 libraries myself.
Feb 27, 2013 at 9:29 PM
Ok, I've downloaded the source for Microsoft Unity 2.1 for Silverlight.
It seems to be possible to compile the source against the mscorlib.dll V4.
But there ist still a dependency of the Microsoft.Practices.ServiceLocation to the mscorlib V2.
Does anybody knows where I can find the source for the ServiceLocator.
Thank you
Feb 27, 2013 at 9:35 PM
I believe the source is here:

Randy Levy
Enterprise Library support engineer
Support How-to
Mar 5, 2013 at 8:17 PM
I've recompiled the ServiceLocator, Unity, Prism and the EntLib Integration Pack for Silverlight after changing the target to mscorlib.dll 4.0.
Everything seems to work correctly and I'm getting no getting no CA errors anymore.
Marked as answer by randylevy on 10/22/2013 at 8:24 AM