错误CS0006:元数据文件' Microsoft.csharp'找不到
我正在使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论