摘要:
点击发现,可以发现服务,但是无法添加引用Turn off ASP.NET compatibility mode in the web.config or add the AspNetCompatibilityRequirements attribute to the service type with RequirementsMode setting as 'Allowed' or 'Required'.我使用的 vs.net 2010有两种解决办法:(在添加引用前,请先保证已经编译过。修改后,也需要再次编译。)1、给服务添加上特性:首先需要添加引用:using 阅读全文