对dotnet和MSbuild的更新,项目找不到Microsoft.CSharp.Core.targets

时间:2019-07-17 19:35:34

标签: asp.net linux monodevelop

我正在使用MonoDevelop在Centos 7上开发一个ASP.NET Web项目。我可以建立和查看网页。然后,我重新启动并安装了一些系统更新。现在我无法在MonoDevelop中进行构建,它给了我错误:

/nishome/lmsense/.cache/MonoDevelop/7.0/MSBuild/24403_1/Microsoft.CSharp.CurrentVersion.targets(5,5): Error MSB4019: The imported project "/nishome/lmsense/.cache/MonoDevelop/7.0/MSBuild/24403_1//Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. (MSB4019) (Personnel)

任何数量的清洁或重建都不能解决问题。我什至尝试卸载所有可以找到的相关软件包。但是,我可以在MSBuild或xbuild中成功构建它。为什么.cache中的这个文件损坏了?

0 个答案:

没有答案