c# debug problem

03/29/2012 15:50 nemboy11#1
Hello everyone could someone help me fix this?

Warning 9 The primary reference "MySql.Data, Version=1.0.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" could not be resolved because it has an indirect dependency on the framework assembly "System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "MySql.Data, Version=1.0.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" or retarget your application to a framework version which contains "System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". ConquerSx



Warning 7 The primary reference "MySql.Data, Version=1.0.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" could not be resolved because it has an indirect dependency on the framework assembly "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "MySql.Data, Version=1.0.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" or retarget your application to a framework version which contains "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". ConquerSx



Warning 8 The primary reference "MySql.Data, Version=1.0.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" could not be resolved because it has an indirect dependency on the framework assembly "System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "MySql.Data, Version=1.0.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" or retarget your application to a framework version which contains "System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". ConquerSx



witch is cuaseing errors like this

Error 1 The type or namespace name 'MySql' could not be found (are you missing a using directive or an assembly reference?) C:\RawRCOserver\MySql\MySqlReader.cs 2 7 ConquerSx


Error 5 The type or namespace name 'MySqlConnection' could not be found (are you missing a using directive or an assembly reference?) C:\RawRCOserver\MySql\MySqlReader.cs 22 17 ConquerSx


Error 6 The type or namespace name 'MySqlConnection' could not be found (are you missing a using directive or an assembly reference?) C:\RawRCOserver\MySql\Database.cs 157 23 ConquerSx



can someone please help me?

anyone?
03/29/2012 16:38 Deсker#2
Delete the references, then re-add them.
03/29/2012 16:45 nemboy11#3
i just did it and the errors disappeared and when i went to try build the project they came straight t back :S?