通过命令行更新网络参考
有没有办法通过命令行更新 Visual Studio 2008 项目中的 Web 引用? 我有一个引用 Web 服务的测试代码。我想在不同的服务器上运行它并尝试为此编写一个脚本。
Is there a way to update web reference in a Visual Studio 2008 project through command line?
I have a test code that reference to a web service.I want to run this against different servers and trying to write a script for this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这可能是以下内容的重复:
如何更新网络参考VS 2008 命令行?
This is possibly the duplication of the following:
How update web reference from VS 2008 command line?
我使用以下内容进行了此操作:
WDSLBuildParameters.xml
UpdateWebReferences.bat
这会生成除 .datasource 文件之外的所有内容,但就我而言,我不需要更新它们,因此我对解决方案感到满意。
I got this working with the following :
WDSLBuildParameters.xml
UpdateWebReferences.bat
This generates everything except the .datasource files, but in my case I don't need them updated so I am happy with the solution.