Error launching configuration console on VS2012 + EntLib6 + VS Config Extension

Topics: General discussion
May 21, 2013 at 10:31 AM
Hi!

Running Windows 7, VS2012 Ultimate, EntLib 6.0.0.0, EnterpriseLibrary Config VS extension v5.0.505.1
  1. I create a new blank Web Application Solution in VS2012
  2. I download Enterprise Library 6 common infrastructure + Data Access Block using nuget
  3. Try to launch the configuration module in VS2012, right clicking the web.config file
error:

_Error launching the configuration console

Could not locate the Enterprise Library binaries required to launch the configuration console. Either use NuGet to add references to the Enterprise Library blocks or set a value for the 'Enterprise Library binaries path' property on the solution to indicate the location of the binaries
_

web.config:
<configuration>

<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
</system.web>

</configurati
on>
packages.config:
<packages>
  <package id="EnterpriseLibrary.Common" version="6.0.1304.0" targetFramework="net45" />
  <package id="EnterpriseLibrary.Data" version="6.0.1304.0" targetFramework="net45" />
</packages>
Global section on the solution file :
Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug|Any CPU = Debug|Any CPU
        Release|Any CPU = Release|Any CPU
    EndGlobalSection
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
        {19AC498E-9D71-439E-8565-583AAF6531B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {19AC498E-9D71-439E-8565-583AAF6531B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {19AC498E-9D71-439E-8565-583AAF6531B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {19AC498E-9D71-439E-8565-583AAF6531B1}.Release|Any CPU.Build.0 = Release|Any CPU
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
    EndGlobalSection
    GlobalSection(ExtensibilityGlobals) = postSolution
        EnterpriseLibraryConfigurationToolBinariesPathV6 = packages\EnterpriseLibrary.Common.6.0.1304.0\lib\NET45;packages\EnterpriseLibrary.Data.6.0.1304.0\lib\NET45;packages\EnterpriseLibrary.Logging.6.0.1304.0\lib\NET45;packages\EnterpriseLibrary.ExceptionHandling.6.0.1304.0\lib\NET45;packages\EnterpriseLibrary.ExceptionHandling.Logging.6.0.1304.0\lib\NET45;packages\EnterpriseLibrary.Validation.6.0.1304.0\lib\NET45
    EndGlobalSection
EndGlobal
May 21, 2013 at 2:32 PM
Do you have the config console for version 6 installed? If you do, when you right click on web.config you should see the option "Edit Server configuration file v6".

You can download Microsoft.Practices.EnterpriseLibrary.ConfigConsoleV6.vsix from Microsoft Enterprise Library 6 in the Download Center.


~~
Randy Levy
entlib.support@live.com
Enterprise Library support engineer
Support How-to