WCF Contract Name 'IMyService' could not be found?

后端 未结 13 2060
借酒劲吻你
借酒劲吻你 2021-02-01 01:16

The contract name \'IMyService\' could not be found in the list of contracts implemented by the service \'MyService\'.. ---> System.InvalidOperationException: The

13条回答
  •  孤独总比滥情好
    2021-02-01 01:33

    I have a habit of doing this ...

    
        
          
            
            
          
    

    when i should do this ...

    
        
          
            
            
          
    

    See what i mean ... It's the dumbest thing ever (especially when the app only has 1 or 2 items in it) but a "fully qualified" classname seems to make all the difference.

提交回复
热议问题