How to get Enterprise Library 3.1 working in VS 2008

While waiting for Enterprise Library 4, you might want to use Entlib 3.1 with Visual Studio 2008.  All the blocks will work but the VS integration will not.  Does that mean you're stuck editing the config file by hand?  Not at all, all you need is add a few registry entries by downloading a .REG file from CodePlex.

http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=entlibcontrib&ReleaseId=11669

The steps are:

  1. Install EntLib 3.1
  2. Run the .REG file
  3. From the VS command prompt, run devenv /setup

VoilĂ !

No Comments