1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

C# 3.5 project, adding web service, says type xxx already contains a definition for '

Discussion in 'Microsoft News' started by NewsBot, Mar 26, 2008.

  1. NewsBot

    NewsBot I Got News

    Joined:
    Feb 8, 2006
    Messages:
    1,813
    Operating System:
    Windows Vista Home Premium
    I added a service to my project, and when it was done adding I built. I get a bunch of messages saying:
    The type 'Test_ERS_Web_Service.ERSDataWebService.WSObserver' already contains a definition for 'codeField'*** C:\Projects\CSCQIS\QISWeb\V1.0\QISWeb\Test ERS Web Service\Service References\ERSDataWebService\Reference.cs
    etc...

    Why does this happen?
    What should I do for my project to use this web service? (We did not produce it, so we can't change the service.)





     

Share This Page