0

Please help me in solving the error 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. But when I compile the same file from test project no error :(

1 Answer 1

1

While compilation using codedom, I have given the wrong path for the App.config.. After providing the correct path this error disappeared.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.