简体   繁体   English

致命错误CS0007:意外的公共语言运行时初始化错误-系统找不到指定的文件

[英]fatal error CS0007: Unexpected common language runtime initialization error - the system cannot find the file specified

Please help me in solving the error fatal error CS0007: Unexpected common language runtime initialization error - the system cannot find the file specified. 请帮助我解决fatal error CS0007: Unexpected common language runtime initialization error - the system cannot find the file specified.

When I dynamically compile (from C# forms application) the code using codedom the above error is thrown. 当我使用codedom动态编译(从C#窗体应用程序)代码时,抛出以上错误。 But when I compile the same file from test project no error :( 但是当我从测试项目中编译相同文件时,没有错误:(

使用Codedom进行编译时,我为App.config给出了错误的路径。在提供正确的路径后,此错误消失了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修复系统错误找不到指定的文件 - How do I fix error of system cannot find the file specified 联合身份验证实用程序引发错误“系统找不到指定的文件。” - Federation Utility throws an error “The system cannot find the file specified.” Process.Start() 中的错误——系统找不到指定的文件 - Error in Process.Start() -- The system cannot find the file specified 为什么会出现此错误:“无法加载文件或程序集‘System.Runtime’或其依赖项之一。 系统找不到指定的文件。”? - Why do I get this error, “Could not load file or assembly 'System.Runtime' or one of its dependencies. The system cannot find the file specified.”? 该系统找不到指定的文件。 .p12 证书文件错误 - The system cannot find the file specified. error for .p12 certificate file 系统找不到指定的文件 - System cannot find file specified 当我尝试将xsd转换为.cs时,系统找不到指定的文件 - System cannot find specified file when I'm trying to convert xsd to .cs Azure - WebAPI无法连接到Azure DB,错误:系统找不到指定的文件[SqlException] - Azure - WebAPI unable to connect to Azure DB, Error: The system cannot find the file specified [SqlException] Excel .NET COM - 自动化错误。 该系统找不到指定的文件 - Excel .NET COM - Automation error. The system cannot find the file specified Visual Studio VB应用程序安装错误:“系统找不到指定的文件。 ” - Visual Studio VB application Installation Error: “The system cannot find the file specified. ”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM