WCF Service, the type provided as the service attribute values…could not be found

后端 未结 14 1222
梦如初夏
梦如初夏 2020-12-24 11:44

When I right click on Eval.svc within Visual Studio 2012 and view in browser, I get the following -

The type \'EvalServiceLibary.Eval\',

14条回答
  •  我在风中等你
    2020-12-24 12:13

    Right click on the .svc file in Solution Explorer and click View Markup

     <%@ ServiceHost Language="C#" Debug="true" 
         Service="MyService.**GetHistoryInfo**" 
         CodeBehind="GetHistoryInfo.svc.cs" %>
    

    Update the service reference where you are referring to.

提交回复
热议问题