The problem when adding Microsoft.Practices.Prism.dll

Topics: Prism v4 - WPF 4
Sep 2, 2014 at 9:59 AM
Dear Gurus!
I'm trying to create a new PRISM project in WPF. But when I'm adding reference to Mirosoft.Practices.Prism.dll In empty WPF project I get an error:
Cannot resolve dependency to assembly 'System.Windows, Version=, 
Culture=neutral, PublicKeyToken=7cec85d7bea7798e' because it has not been preloaded. 
When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or 
loaded on demand through the ReflectionOnlyAssemblyResolve event.'
The same error occurs when I try to use a template PRISM WPF 4.0 shell. I've been using PRISM with Silverlight for a long time without problems. How to fix the problem?
Sep 2, 2014 at 12:53 PM
After replacing prism libraries from Silverlight to WPF type - problem solved. Sorry!