Hi all,
I'm generating run time an assembly with the code below:
ICodeCompiler compiler = codeProvider.Cr eateCompiler();
CompilerParamet ers parameters = new CompilerParamet ers();
parameters.Gene rateExecutable = false;
parameters.Main Class = "MainClass" ;
parameters.Incl udeDebugInforma tion = true;
CompilerResults results = compiler.Compil eAssemblyFromSo urce(parameters ,
toParse);
So, As you noticed, I did not specified a name for the genrated file, cause I use the assembly in memory.
Unfortunately the framework seems to create a dll with a strange name in my temp directory, for every assembly I compile. Should I delete myself that temporary files when I'm no longer using these assembly ?
Thabks all !
I'm generating run time an assembly with the code below:
ICodeCompiler compiler = codeProvider.Cr eateCompiler();
CompilerParamet ers parameters = new CompilerParamet ers();
parameters.Gene rateExecutable = false;
parameters.Main Class = "MainClass" ;
parameters.Incl udeDebugInforma tion = true;
CompilerResults results = compiler.Compil eAssemblyFromSo urce(parameters ,
toParse);
So, As you noticed, I did not specified a name for the genrated file, cause I use the assembly in memory.
Unfortunately the framework seems to create a dll with a strange name in my temp directory, for every assembly I compile. Should I delete myself that temporary files when I'm no longer using these assembly ?
Thabks all !
Comment