I'm attempting to use the DatabaseFactory method from the Microsoft Enterprise Library.
using Microsoft.Practices.EnterpriseLibrary.Data;
The error I get is: The type or namespace 'Practices' does not exist in the namespace Microsoft
I tried going to Microsoft's site to install the Enterprise Library, worked through the installation process and it still doesn't work. Did I install it to the wrong location? Any ideas?
Edit: I followed Kev's directions and got everything working. Thanks for your guys' help.
Best Answer
You need to add references in your project to:
Assuming you installed
Enterprise Library 4.1 - October 2008
, the default install location will be:You can locate the assemblies you need to reference in:
These assemblies are also listed in the Add References (.NET) dialogue: