本文介绍了WSDL更新自动化,同时构建和相关文件,如Reference.cs文件自动更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过提供相应wsdl文件的链接来使用webservice引用。我的解决方案中有大约14到15个项目,每个项目都有自己的webreferences.Now我需要将所有引用合并到一个项目中并将此引用添加到所有项目我的其他项目,以便在Web引用更改时更新一个项目时不会出现问题。
现在我需要找到以编程方式更新我的webreferences或使用任何其他方法的方法,以便在构建最新的wsdl文件时和reference.cs以及与Web引用相关的所有其他依赖文件都会自动更新。
是否有解决方法可以使我的工作更轻松。目前正在使用的脚本用于构建和部署。

解决方案

I am using webservice references by giving a link of the corresponding wsdl file.I have around 14 to 15 projects in my solution each having its own webreferences.Now i need to consolidate all references into one project and add this reference to all my other projects so that i will not have problems updaing one project when the web references changes.
Now i need to find out methods to update my webreferences programatically or using any other approach so that when it is build the latest wsdl files and reference.cs and all other dependency file pertaining to the web references get updated automatically.
Is there a work around for this that will make my job easier.
nant scripts are being used currently for build and deploy.

解决方案


这篇关于WSDL更新自动化,同时构建和相关文件,如Reference.cs文件自动更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 23:34