King Paulo Aquino
King Paulo Aquino

Reputation: 11

Connecting to Oracle 11g from Windows Mobile 6.5

I am developing smart-device project then I've been encountered these errors:

Error 1 The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Users\king.a\Documents\Visual Studio 2008\Projects\SmartDeviceProject4\SmartDeviceProject4\Form1.cs 46 13 SmartDeviceProject4

Error 2 The type 'System.Data.Common.DbCommand' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Users\king.a\Documents\Visual Studio 2008\Projects\SmartDeviceProject4\SmartDeviceProject4\Form1.cs 49 13 SmartDeviceProject4

Error 3 The type 'System.Data.Common.DbDataReader' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Users\king.a\Documents\Visual Studio 2008\Projects\SmartDeviceProject4\SmartDeviceProject4\Form1.cs 52 13 SmartDeviceProject4

I've been looking for the app.config to add reference to assembly, but i couldn't find it.

Upvotes: 1

Views: 509

Answers (1)

il_guru
il_guru

Reputation: 8508

This procedure should help you add the reference

In Visual Studio look for the Solution Explorer window.

  • Right Click on References
  • Select Add Reference
  • Move to the .Net Tab
  • Look for Componente Name System.Data, select and press Ok

Upvotes: 0

Related Questions