compile c# on the fly mono - repost
$10-30 USD
Paid on delivery
Hello. i want to compile c# code on the fly with assembly reference.
I use CSharpCodeProvider and CompilerParameters to pass reference of the source code but i must reference the assemblies that i load in memory of application domain.
Is possibile to change the Compiler class to accept list of istance of Assembly class and not a list of string of assembly files?
This a example of use of configuration class:
[url removed, login to view] parameters = new CompilerParameters([url removed, login to view]())
{
GenerateExecutable = false,
GenerateInMemory=true,
OutputAssembly = nameAssembly,
ReferencedAssemblies = new [url removed, login to view](){ "[url removed, login to view]"};
};
Therefore i want to load [url removed, login to view] assembly from memory and not from local disk.
Project ID: #5019250
About the project
2 freelancers are bidding on average $59 for this job
Hi Chat with me We can solve it together Waiting for your answer Glad to work to you Thank you..