Programmatically compiling code with COM references
-
I am trying to write code for compiler using Codedom. I am unable to compile code which uses COM references. The code gives file not found exeception while adding COM reference to Compiler parameter object even if it is present in the output folder of the code to compile(No idea why). The possible solution I can search of is to get the executable path for the code to compile because those dlls are present in the same folder(I may be wrong here). How can I get the executable path of the code that will be compiled?? or Am I going with wrong approach?? If yes, then how to solve this issue????
-
I am trying to write code for compiler using Codedom. I am unable to compile code which uses COM references. The code gives file not found exeception while adding COM reference to Compiler parameter object even if it is present in the output folder of the code to compile(No idea why). The possible solution I can search of is to get the executable path for the code to compile because those dlls are present in the same folder(I may be wrong here). How can I get the executable path of the code that will be compiled?? or Am I going with wrong approach?? If yes, then how to solve this issue????