I am currently doing a silverlight application with Prism v2. But when I am adding the reference dlls two dlls are not recoganised.
Microsoft.Practices.ServiceLocation.dll &
Microsoft.Practices.Unity.dll
Can any one give a solution for this?
I am currently doing a silverlight application with Prism v2. But when I am adding the reference dlls two dlls are not recoganised.
Microsoft.Practices.ServiceLocation.dll &
Microsoft.Practices.Unity.dll
Can any one give a solution for this?
First, I'm pretty sure Prism was written for use with Silverlight 2.0 so you may encounter other problems. The CodePlex forum for Prism has several posts on the subject.
You need to reference the Silverlight versions of those two assemblies. You should be able to find them in the Reference Implementation.
The best resource I've found on getting the Prism for Silverlight stuff up and running is this post on the Sparkling Client on downloading and building prism.
Follow that guide and it will give you the location of the correct Silverlight version of the dlls which is what you need as Richard points out.
I am using Prism 2 on a Silverlight 3 project in Visual Studio 2010 beta 2 and it works fine. Check that you aren't mistakenly trying to use the wrong assemblies (the WPF ones maybe?)
Hi,
There is a new version of Prism V2. You can download it from Microsoft site:
"New Composite Application Guidance for WPF and Silverlight 3.0 - October 2009 Released"
Get it here