Custom tool error: Failed to generate code for the service reference ××××××. Please check other error and warning messages for details.
2012-06-20 15:16
1096 查看
开发工具:VS2010,Silverlight4
问题描述:在ProjectName.Web中创建的WCF服务,然后在silverlight项目中添加Add Service Reference,然后就报“Custom tool error: Failed to generate code for the service reference ××××××. Please check other error and warning messages for details. ”这样的错误,并且在ServiceReferences.ClientConfig中也没有自动生成EndPoint信息。
解决方法:在silverlight项目中,在Service References 在下面找到出错的WCF服务的引用,右键点击“Configure Service Reference…”,在弹出的对话框中,去掉对“Reuse types in referenced assemblies”的选择即可解决问题
问题描述:在ProjectName.Web中创建的WCF服务,然后在silverlight项目中添加Add Service Reference,然后就报“Custom tool error: Failed to generate code for the service reference ××××××. Please check other error and warning messages for details. ”这样的错误,并且在ServiceReferences.ClientConfig中也没有自动生成EndPoint信息。
解决方法:在silverlight项目中,在Service References 在下面找到出错的WCF服务的引用,右键点击“Configure Service Reference…”,在弹出的对话框中,去掉对“Reuse types in referenced assemblies”的选择即可解决问题
相关文章推荐
- Custom tool error: Failed to generate code for the service reference ××××××. Please check other erro
- Custom tool error: Failed to generate code for the service reference ××××××. Please check other erro
- WCF 服务引用生成代码失败 (Failed to generate code for the service reference )
- MS SQL错误:SQL Server failed with error code 0xc0000000 to spawn a thread to process a new login or connection. Check the SQL Server error log and the Windows event logs for information about possible related problems
- Jenkins 安装启动提示“iJob for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.”
- 编译PHP5.6 提示configure: error: GD build test failed. Please check the config.log for details.
- Custom tool error Failed to generate code
- linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
- Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details
- configure: error: GD build test failed. Please check the config.log for details.
- 使用ACE日志策略时遇到的问题:DLL::open failed for ACE: Error: check log for details Unable to find service 'Logger'
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- Android Studio 安装出错 Failed to install Intel HAXM. For details, please check the installation log
- 安装VisualSVN时遇到的问题-Service ‘VisualSVN Server’ failed to start. Please check VisualSVN Server log in Event Viewer for more details.
- linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
- #Redis Error #MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details a
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- Centos 7不能上网,Job for iptables.service failed because the control process exited with error code.
- arcgis server manager - An error has occured on the server. For details please check the Event (Application) log on the web.
- CentOS7启动SSH服务报:Job for ssh.service failed because the control process exited with error code.......