为什么 vwd.webinfo 总是自动从源代码管理中检出?
我们有一个 2008 年的解决方案,其中有一个文件系统网站作为解决方案的一部分。 此解决方案受 Team Foundation Server 的源代码控制。 每次关闭解决方案时,它要么检出一个名为 vwd.webinfo 的文件,要么尝试并抱怨其他人已经检出它。
从源代码管理中删除文件并不能解决问题,因为由于某种原因它会自动重新添加。
为什么会发生这种情况?我们可以采取什么措施来消除这个烦恼吗?
多谢!
We have a 2008 solution that has a file system website as part of the solution. This solution is under source control with Team Foundation Server. Every time the solution is closed it either checks out a file called vwd.webinfo or attempts to and complains that someone else already has it checked out.
Removing the file from source control does not fix the issue because it gets re-added automatically for some reason.
Why does this happen and is there something we can do about it to remove this nag?
Thanks a lot!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
该文件仍将在您的文件系统和解决方案中,但不在源代码管理之下。 您不会看到“加号”或“v”或“锁定”按钮
The file will still be in your file system and solution, but not under source-control. You won't see "plus" or "v" or "lock" button
转到“属性页”,选择左侧的“生成”,然后取消选中“将网站作为解决方案的一部分生成”然后您可以删除该文件,并且不会自动创建该文件。
Go to Property Pages, select Build on the left, and uncheck "Build Web site as part of solution" Then you can delete the file and it won't get created automatically.
您应该能够手动删除该文件并使其不再出现。 该文件包含一些在早期版本中位于项目其他位置的信息,但显然不是必需的。 从源代码管理和磁盘上删除文件之前,请关闭解决方案。
You should be able to delete this file manually and have it not reappear. This file holds some information that used to be located elsewhere in the project in earlier versions but apparently is not necessary. Close your solution before deleting the file from source control and on the disk.