F
felice pollano
Hi all,
I'm generating run time an assembly with the code below:
ICodeCompiler compiler = codeProvider.CreateCompiler();
CompilerParameters parameters = new CompilerParameters();
parameters.GenerateExecutable = false;
parameters.MainClass = "MainClass";
parameters.IncludeDebugInformation = true;
CompilerResults results = compiler.CompileAssemblyFromSource(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.CreateCompiler();
CompilerParameters parameters = new CompilerParameters();
parameters.GenerateExecutable = false;
parameters.MainClass = "MainClass";
parameters.IncludeDebugInformation = true;
CompilerResults results = compiler.CompileAssemblyFromSource(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 !