[英].NET Core “Files has invalid value” error
Hello I am developing an asp.net core mvc app when I build my solution I take this error;您好,当我构建解决方案时,我正在开发一个 asp.net core mvc 应用程序,我出现了这个错误;
Severity Code Description Project File Line Suppression State Error MSB3541 Files has invalid value "<<<<<<< HEAD".
严重性代码描述项目文件行抑制状态错误 MSB3541 文件具有无效值“<<<<<<< HEAD”。 Illegal characters in path.
路径中的非法字符。 ToDo.Web C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Current\\Bin\\Microsoft.Common.CurrentVersion.targets 4925
ToDo.Web C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Current\\Bin\\Microsoft.Common.CurrentVersion.targets 4925
After that, when I click on the error description, the IDE redirects me to this section of the targets document.之后,当我单击错误描述时,IDE 会将我重定向到目标文档的这一部分。
<!-- Find all files in the final output directory. --> <FindUnderPath Path="$(OutDir)" Files="@(_CleanOrphanFileWrites)"> <Output TaskParameter="InPath" ItemName="_CleanOrphanFileWritesInOutput"/> </FindUnderPath>
Files has invalid value "<<<<<<< HEAD".
文件具有无效值“<<<<<<< HEAD”。 Illegal characters in path.
路径中的非法字符。
That value indicates that are part way through a git merge.该值表明这是 git 合并的一部分。 Search in your repo for that string and resolve the git merge.
在您的 repo 中搜索该字符串并解决 git merge。
Note I previously added this as a comment - but I suspect someone flagged it to be removed.请注意,我之前将此添加为评论 - 但我怀疑有人将其标记为要删除。 I'd rather this be a comment, but adding it as an answer so that @mertagcakoyun can get up and running.
我宁愿这是一条评论,但将其添加为答案,以便@mertagcakoyun 可以启动并运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.