创建wcf服务主机以启动服务时出错 [英] Getting error while creating wcf service host to start service
本文介绍了创建wcf服务主机以启动服务时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在visual studio 2013中创建了wcf服务,当我创建一个控制台应用程序作为服务主机来启动服务时,我收到错误如下
类型'System.Uri'在未引用的程序集中定义。您必须添加对程序集'System,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089'的引用。
请帮助解决此问题
谢谢
I have created wcf service in visual studio 2013 and when i am creating a console application as service host to start service, I am getting error as following
The type 'System.Uri' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
kindly help to resolve this problem
Thanks
推荐答案
这篇关于创建wcf服务主机以启动服务时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文