简体   繁体   English

消息错误:无法访问mscorlib.dll

[英]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.

相关问题 mscorlib.dll中的错误“ System.StackOverflowException” - Error 'System.StackOverflowException' in mscorlib.dll Affectiva mscorlib.dll和依赖项错误 - Affectiva mscorlib.dll and dependencies error IOFileNotFoundException mscorlib.dll - IOFileNotFoundException mscorlib.dll 无法将 mscorlib.dll 添加到 Visual Studio 项目 - Cannot add mscorlib.dll to Visual Studio project 添加Microsoft.Phone.dll以使用Applicationbar类将给出“模块mscorlib.dll中找不到类型System.SystemException”错误 - Adding Microsoft.Phone.dll to use Applicationbar class gives “Cannot find type System.SystemException in module mscorlib.dll” error 使用Matlab dll在Windows Store App中的模块mscorlib.dll中找不到类型System.ApplicationException错误 - Cannot find type System.ApplicationException in module mscorlib.dll Error in Windows Store App while using Matlab dll mscorlib.dll 中出现奇怪的错误“System.ExecutionEngineException” - Weird error 'System.ExecutionEngineException' occurred in mscorlib.dll 我无法调试,mscorlib.dll错误 - I can't debug, mscorlib.dll error 发生PingException mscorlib.dll - PingException occurred mscorlib.dll mscorlib.dll中发生类型'System.IO.IOException'的异常-该进程无法访问该文件,因为该文件正在被另一个进程使用 - Exception of type 'System.IO.IOException' occurred in mscorlib.dll - The process cannot access the file because it is being used by another process
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM