Microsoft Unity 2.1 for Silverlight 5 ?

Feb 27, 2013 at 8: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.
Regards
Feb 27, 2013 at 8: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 8:35 PM
I believe the source is here: http://commonservicelocator.codeplex.com/

~~
Randy Levy
entlib.support@live.com
Enterprise Library support engineer
Support How-to
Mar 5, 2013 at 7: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.
Fine!
Regards
Dirk
Marked as answer by randylevy on 10/22/2013 at 8:24 AM