Apr 25, 2010 at 11:12 PM
Edited Apr 25, 2010 at 11:13 PM
I have the evaluation Version of Visual Studio 2010, When I installed Entlib 5, All dll's have been installed correctly except the Microsoft.Practices.EnterpriseLibrary.Data.dll was not accessible
in . NET tab.
I have to reference it using the browse..
When I try to write such code :
Database db = DatabaseFactory.CreateDatabase("csSql");
the intellisence propose to add the correct using :
but when I compile, i have some errors :
The name 'DatabaseFactory' does not exist in the current context
The type or namespace name 'Data' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?)
The type or namespace name 'Database' could not be found (are you missing a using directive or an assembly reference?)
and the word data in the using is highlighted in Red, it didn't recognizes the data namespace:
-I tried to change the specific version of the data dll into TRUE.
-I have referenced all Entlib dlls.
-I tried entlib5 with VS2008 and it works correctly.