错误CS0006:元数据文件' Microsoft.csharp'找不到

发布于 01-20 04:03 字数 276 浏览 3 评论 0原文

我正在使用Visual Studio 2019在本地计算机上编译我的.NET项目,这不会出现任何错误,我再次发布,它没有错误。我将其发布在Windows Server上,我称之为工作的方法。几个小时后,当我调用相同的方法时,我会发现错误“ CS0006:元数据文件'Microsoft.csharp'找不到错误

。解决错误。我还使用该项目中的快速报告。可能是由快速报告引起的吗?

我在互联网上发现的解决方案也无法正常工作,因为我在编译时不会遇到错误。可能是服务器相关的问题吗?

I am compiling my .net project on my local computer using visual studio 2019 it does not give any error, I publish it again, it does not give an error. I publish it on the windows server, the method I call works. After a few hours, when I call the same method, I get an Error ”CS0006: Metadata file 'Microsoft.CSharp' could not be found error.”

I did the cleaning and recompiling of the project to solve the error. I also use fast report in the project. Could it be caused by fast report?

The solutions I found on the internet do not work either, as I do not get an error at the time of compilation. Could it be a server related issue?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文