Jan 12, 2011 at 9:23 PM
Edited Jan 12, 2011 at 10:44 PM
Thanks for the lead Sarah.
As you suggested, I found the source for configuration tool and was able to compile all the necessary app blocks and projects ( Configuration.Console, Configuration.Design and Configuration.EnvironmentalOverride )
While making the modifications, I also changed the default namespaces prefix (Microsoft.Practices.EnterpriseLibrary) to MyNamespace for all the projects/app blocks.
A few assemblies such as Microsoft.Practices.EnterpriseLibrary.Configuration.Design.HostAdapterV5, Microsoft.Practices.EnterpriseLibrary.Configuration.Design.HostAdapter, Microsoft.Practices.Unity, Microsoft.Practices.ServiceLocator ) are referenced as-is
in the resulting projects as no source is available.
When I run the resulting EntLibConfig.exe file, it opens OK but Blocks and Wizards toolbar menu items are disabled. Also, it does not load configuration files when I try to open one.
From my debugging so far, I was able to find out the issue seems to be in
EnsureCommands method of MenuCommandService
class ( Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Services.MenuCommandService ).
The LINQ query/statement is returning an empty list while the AssemblyLocator (this.assemblyLocator.Assemblies) contained number of assemblies ( these assemblies are a mix of the newly built ones with modified namespace and some EnterpriseLibrary ones).
My assemblies are named strongly.
Thanks again for your help.