Error 1 The type 'System.Data.SqlClient.SqlParameter' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data. RRS feed

  • Question

  • Error    1    The type 'System.Data.SqlClient.SqlParameter' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll' and 'c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\System.Data.SqlClient.dll'    D:\Work\Sites\StarcraftStatistics\DataAccess\SQlParameter.cs    12    39    DataAccess

    I'm having this error. I don't know how to fix it. I'm receiving this every time when I rebuild the project's DataAcces solution.

    Any ideeas?

    Thank you
    Wednesday, February 13, 2008 1:01 PM

All replies

  • Can I ask why you are referencing both assemblies?

    Wednesday, February 13, 2008 7:26 PM