Prism V2 not working with Silverlight 3.0

188 views Asked by At

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?

5

There are 5 answers

0
Bryant On

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.

0
Roberto Carzoglio On

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

0
Konamiman On

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?)

2
serialhobbyist On

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.

0
Richard Szalay On

You need to reference the Silverlight versions of those two assemblies. You should be able to find them in the Reference Implementation.