My WCF application uses runtime compiled code to calculate some report values. I am using CSharpCodeProvider.CompileAssemblyFromSource to compile the code. If a client (Silverlight application) requests a report when calculating another report, CSharpCodeProvider.CompileAssemblyFromSource creates temporary files with a duplicate name, which leads to an IOException ("File C: \ Windows \ TEMP \ uviewdyd.out" already exists ").
Does anyone know how to prevent this?
source share