Prism 4.1: Downloadpackage and Unity

Jan 29, 2014 at 11:46 PM
Edited Jan 30, 2014 at 6:22 PM
Dear reader,

I am a beginner with Prism and I start to write my first experimental code. I
have the following statements in my code:
    IUnityContainer container = new UnityContainer();  
    container.LoadConfiguration();
The IUnityContainer could not be resolved. After a long search I found out, that I have to reference the dll ...Unity.Configuration then it worked.


BUT:
In the folder Prism\Bin\Desktop the dll Unity.Configuration is not available.
Instead I found this dll in the folder Prism\Lib\Desktop\Unity.
I am confused. What is in the Bin-Folder and what is in the Lib-Folder?
Jan 30, 2014 at 6:22 PM
No answer so far!?
So, let me try it again. :-)

Why does the Unity-Standardpackage at \Prism\bin\Desktop not contain the dll Unity.Configuration.

Instead, this dll is contained in the folder \Prism\Lib\Desktop\Unity.

And what is the purpose of that ..Lib.. directory?

Thanks in advance
Jan 31, 2014 at 2:12 PM
Hello Somigur,

Based on my understanding, the /Bin folder contains Strong-named and authenticated signed Prism binaries while the /Lib foder located on the Prism directory stores pre-built Prism binaries so they work out of the box for convenience which actually they are used by QuickStarts solutions. However, you should try and use the Prism binaries on your system whenever you would be able to.

You can find more related information on the following sites:

As a side note, It may be possible to have NuGet packages for future version releases of Prism, so this would not be an issue.

I hope this helped you, regards.

Gabriel Ostrowsky
https://blogs.southworks.net/gostrowsky