I cannot get the Prism assemblies to build using Unity 2.0. I have been trying for two days. The problem is that the IUnityContainer.AddNewExtension<TExtension> no longer exists. There is a generic method that is gone. And there
is no mention of it in any of the Unity 2.0 documentation. The CodePlex team did document plenty of the changes and deprecation on Unity 2.0, like the merge of ObjectBuilder2 into Unity and the deprecation of the Microsoft.Practices.ObjectBuilder2.BuildFailedException.
But there is no mention of the elimination of the AddNewExtension. I pulled down the Unity 2.0 source code and confirmed the method is gone. The Prism test projects use it extensively and they won't build along with the UnityBootstrapperExtension
from the Composite.UnityExtensions.Desktop assembly. I really need a Prism for Unity 2.0. I have no choice but to keep trying to build it myself and the Unity 2.0 documentation has a hole in it. What shall I do?
Can the P&P team try the Unity 2.0 build, then release for the rest of us? It should not take long for the experts to do it.
I have been around this track a few times now. Here is the deal:
When I change the CAL Desktop projects to use Unity 2.0 I get an error that some members of the IUnityContainer need to be implemented. So I implement them as NotImplementedException(). This makes the Desktop CAL build. But then the Silverlight
CAL breaks. Apparently most of the Silverlight CAL files are actually links to Desktop CAL files. After implementing the Unity 2.0 IUnityContainer Members they do not build in the Silverlight CAL because the Silverlight Unity assembly has no idea
about the new IUnityContainer Members. So, I need a Silverlight Unity 2.0 assembly. I have no idea if one exists.
Will there be a Silverlight Unity 2.0 release?