[英]message error: Cannot access mscorlib.dll
I am using snippetcompiler. 我正在使用snippetcompiler。 I once added references to .NET 3.5 and the remove them but since I got this error each time I run a cs file:
我曾经添加对.NET 3.5的引用并将其删除,但是由于每次运行CS文件时都会出现此错误:
cannot copy v2...\\mscorlib.dll to c:\\windows\\system32 无法将v2 ... \\ mscorlib.dll复制到c:\\ windows \\ system32
How to correct this if someone knows ? 如果有人知道该如何纠正?
It sounds like it is trying to write files into system32, presumably as a working directory. 听起来好像正在尝试将文件写入system32中,大概是作为工作目录。 Perhaps change the working directory?
也许更改工作目录? Or if the code is yours, write to temp...
或者,如果代码是您的,请写入临时文件...
I'm not sure why it would want to copy mscorlib, unless this is some kind of shadow-copy gone bad... 我不确定为什么要复制mscorlib,除非这是某种影子复制变坏了...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.