Enterprise Library Configuration Editor Is Missing with Visual Studio 2012

Topics: Enterprise Library Core, Logging Application Block
Sep 11, 2012 at 6:15 AM

I am starting a new MVC project and added the EL5.0 packages in VS2012 via NuGet.

EL5.0 Common Infrastructure as well as Logging Application block show as succesfully installed. They are also added to project references.

However, the right-click to edit web.config with the EF5.0 Config editor is missing?

NuGet doesn't show a "Enterprise Library Config" package available as per http://msdn.microsoft.com/en-us/library/hh680939(v=PandP.50).aspx

This optional editor VS integration doesn't want to install either - http://www.microsoft.com/en-us/download/details.aspx?id=6836

This should be easy to repro with VS2012 + new project. Any ideas?

Many thanks!


Note: I have this successfully working on a different project with VS2010 + EL5.0

Sep 11, 2012 at 7:31 AM

Visual Studio integration currently targets Visual Studio 2010.  As a workaround, you can use the stand-alone editor.

I don't have Visual Studio 2012 handy right now to test, but you can try to manually edit the manifest to support VS2012.  See Getting your favorite Visual Studio 2010 extension to run in Visual Studio 11.  Warning: I haven't verified this approach so use caution if you are going to try it.  I will test it out and report back.

Randy Levy
Enterprise Library support engineer

Sep 12, 2012 at 12:33 AM

Not sure if I should be doing this ( :) ), but I made the change to allow Enterprise Library Config to install in VS2012 and a quick test seems to be OK.  You can get it here.

Bear in mind that this is: a) not supported, b) not tested (unless you count creating a logging config and saving it a full test :) ), and c) as per usual 'THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY ANDFITNESS FOR A PARTICULAR PURPOSE'.

Randy Levy
Enterprise Library support engineer

Sep 12, 2012 at 2:44 AM

Thanks Randy - I appreciate it!

Your Ent Library config / beta installer works for me and fixes my issue. Many thanks!

Take care, Ivan

Feb 5, 2013 at 2:21 AM
Edited Feb 7, 2013 at 5:16 AM
The official release of EnterpriseLibrary.config now targets VS2012. It can be downloaded at http://visualstudiogallery.msdn.microsoft.com/029292f0-6e66-424f-8381-3454c8222f9a.

Randy Levy
Enterprise Library support engineer
Support How-to
Marked as answer by randylevy on 10/25/2013 at 10:53 AM