.net - Prism Module Referencing Portable Class Library -


so have wpf application using prism composition handle modularity. 1 of libraries contains prism imodule, references portable class library. when attempt run wpf application following exception:

an unhandled exception of type 'system.io.filenotfoundexception' occurred in microsoft.practices.prism.composition.dll not load file or assembly 'system.runtime, version=4.0.10.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a' or 1 of dependencies. system cannot find file specified.

this occurs inside initializemodules of untiybootstrapper implementation. pretty sure because prism trying load dependencies of library containing prism imodule don't quite understand why can't find dependency. far have tried reinstalling windows 8.1 sdk because read dll should reside.

has else encountered before or have suggestions?

update: found if copy system.runtime.dll location: "c:\program files (x86)\reference assemblies\microsoft\framework.netcore\v4.5.1" , place in same location wpf exe runs fine. don't quite understand why prism library can't load dll then. limitation of prism because don't see system.runtime.dll in gac how dependency resolved?

i don't think prism, if create wpf app, references different library, , library depended on one. main wpf application needs reference both of them.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -