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