如何自动更新.svc服务引用 [英] How to automatically update the .svc service reference
问题描述
虽然使用MSBuild自动化构建,但我仍然坚持在编译网站之前更新服务引用。有没有办法在msbuild项目文件本身中作为预建事件动态更新它。我也有多个服务参考。
所以我必须更新那些有变化的。这就是我现在手动执行的方法 - 在构建网站时更新引用错误以更新特定引用时更新引用。
While automating the build using MSBuild, i'm stuck as how to update the service reference before compiling the website. Is there a way to update it dynamically as a prebuild event in the msbuild project file itself. Also i have multiple service references. So I will have to update those which have changes. This is how i do it manually as of now - Update the reference whenever error is thrown to update a particular reference at the time of building the website.
有谁知道怎么做它?或者是否有更好的方法。
Does anyone knows how to do it? Or is there a better approach to it.
推荐答案
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=msbuild
这是你应该发布的地方。
it is where you should post.
这篇关于如何自动更新.svc服务引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!