即使在恢复备份后,也无法撤消更新Web引用 [英] Cannot undo updating web reference even after restoring a backup

查看:88
本文介绍了即使在恢复备份后,也无法撤消更新Web引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个几年前编写的VB.NET 2010程序。



我们必须对它进行测试并发现存在一些问题在Web引用中。



我们发布了更新Web引用,这导致了各种编译错误(70),包括现在未定义的Web服务类型。在Web引用更新之前没有错误。



没有保存项目。重新打开项目,但我们仍然有同样的错误!所以保存了一些但不确定是什么。



重命名为应用程序源文件夹并从备份中恢复。



相同的错误!所以无论改变了什么(未经许可)都不在应用程序源文件夹中。



有人可以帮忙告诉我发生了什么以及如何恢复程序因为它是在更新Web参考之前。



谢谢

We have a VB.NET 2010 program that was written a few years ago.

We had to work on it to test and found that there were some issues in the web reference.

We issued an update web reference and this caused all kinds of compile errors (70) including the web service type as now not being defined. There were no errors before the web reference update.

Did not save the project. Re-opened the project but we still had the same errors!!! So something was saved but not sure what.

Renamed to application source folder and restored from a backup.

SAME ERRORS!!! So whatever was changed (without permission) is not in the applications source folder.

Can someone please help and tell me what is going on and how I can restore the program as it was prior to the Update Web Reference.

Thanks

推荐答案

你需要进入项目的实际配置文件并完全删除Web引用,然后读取它。如果这不起作用,那么Web引用本身就出了问题。



另一方面,你肯定有源代码控制,可以回收你的项目吗?如果发生了大量更改,请仅比较项目文件和Web引用文件夹中的文件,以了解如何将Web引用手动编辑为它。
You need to go in to the actual config files for the project and remove the web reference completely, then readd it. If that does not work, then something is wrong with the web reference itself.

On the other hand, surely you have source control and can wind your project back ? If lots of changes have occurred, compare just the project files and the files in the web references folder to see how to hand edit the web reference to what it was.


这篇关于即使在恢复备份后,也无法撤消更新Web引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆