Enterprise Library
Enterprise Library
If you’re building a WPF application and are getting an exception “Value does not fall within the expected range” while trying to set the Content property of a ContentControl you might have run into the same scenario I have, let me explain. Lets assume you have registered a View (xaml UserControl) with your Unity container and you use ‘ContainerControlledLifetimeManager()’ to make it a singleton, you can then Resolve that view and display it inside of a ContentControl’s content property. But be aware, if you attempt to set that control to another ContentControl’s content property you will likely get the...
Today while installing Enterprise Library 4.0 on my Windows 2008 “desktop” machine I received the following error towards the end of the installation: “The system administrator has set policies to prevent this installation” After clicking OK to acknowledge this error the prompt closes and the installation completes successfully. I quickly looked to see what had happened and it seems everything installs except for the Source and Samples. I then tried to run the Enterprise Library 4.0 - May 2008 - Source Code.msi file again (this is what fails and can be found in C:\Program Files\Microsoft Enterprise...