Microsoft.Practices.EnterpriseLibrary.Configuration  
Author Message
SalvatoreR





PostPosted: Visual C# General, Microsoft.Practices.EnterpriseLibrary.Configuration Top

have a problem with the framework 2.0 on Microsoft.Practices.EnterpriseLibrary.Configuration (that don’t exist)

I have converted an application with Microsoft framework 1.1 in the new framework 2.0.

This line code has an error:

Database db = new DatabaseProviderFactory(ConfigurationManager.CreateContext()).Create("DBProva");

1) ConfigurationManager don’t exist ( OK I have added System.configuration and ConfigurationManager exist now)

2) …but ConfigurationManager don’t have this method CreateContext().

what I do to resolve this problem

Thanks



Visual C#18