[英]TFS204018 error when installing NuGet Package in VS2015
Whenever I install a NuGet package in a TFS source-controlled VS 2015 project, I get a message similar to the following output under "Source Control - Team Foundation": 每当我在TFS源代码控制的VS 2015项目中安装NuGet包时,我都会收到类似于“源代码管理 - 团队基础”下的以下输出的消息:
TF204018: Could not check the file's encoding because the file C:\\TFS\\Oz.Interfaces\\Main\\Source\\MVRSTamperCodes\\MVRSTamperCodes.Web\\web.config is in use.
TF204018:无法检查文件的编码,因为文件C:\\ TFS \\ Oz.Interfaces \\ Main \\ Source \\ MVRSTamperCodes \\ MVRSTamperCodes.Web \\ web.config正在使用中。
I've been searching fruitlessly to see if there's a way to fix this issue and haven't found anything yet. 我一直在搜索,看看是否有办法解决这个问题并且还没有找到任何东西。 Does anyone know what is causing this message and/or what steps I can take to fix it?
有谁知道导致此消息的原因和/或我可以采取哪些步骤来修复它? I should note that this doesn't prevent the successful installation of the NuGet package so it appears to just be a warning or informational message.
我应该注意,这并不妨碍NuGet包的成功安装,因此它似乎只是一个警告或信息性消息。
I've met similar issue with blocking web.config and other files. 我遇到了阻止web.config和其他文件的类似问题。 My solution was:
我的解决方案是:
如果您正在使用Team Foundation Server,则在更新项目的Nuget包之前,如果遇到此问题,则需要先检查整个项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.