ICodeCompiler: C# Compiler article
-
hello, this by the way is an excellent article. shows how to deal with the CodeDom object. i've been making some use of this object with some success. i can create the dll and write it to disk. the problem is that i'm trying to write the dll being generated to a directory of my choice. codeCompiler.CompileAssemblyFromSource(compilerParamaters, sourceWSProxy); this line automatically generates the dll in the bin\Debug of the application directory. i can't seem to over ride this. hope someone can help with this one. thanks Orion Orion
-
hello, this by the way is an excellent article. shows how to deal with the CodeDom object. i've been making some use of this object with some success. i can create the dll and write it to disk. the problem is that i'm trying to write the dll being generated to a directory of my choice. codeCompiler.CompileAssemblyFromSource(compilerParamaters, sourceWSProxy); this line automatically generates the dll in the bin\Debug of the application directory. i can't seem to over ride this. hope someone can help with this one. thanks Orion Orion
Um, what article? Cheers, Tom Archer Author, Inside C# A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
-
Um, what article? Cheers, Tom Archer Author, Inside C# A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
This one :) James Simplicity Rules!
-
Um, what article? Cheers, Tom Archer Author, Inside C# A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
hello Tom, if you search this site for ICodeCompiler or CodeDom you should get a couple of articles. one by Konrad Rotuski "C# Compiler" and the other by Shawn Wildermuth "Runtime C# Expression Evaluator ". both are basically the same. here's the link to the first one. http://www.codeproject.com/csharp/cscompiler.asp thanks Orion
-
hello Tom, if you search this site for ICodeCompiler or CodeDom you should get a couple of articles. one by Konrad Rotuski "C# Compiler" and the other by Shawn Wildermuth "Runtime C# Expression Evaluator ". both are basically the same. here's the link to the first one. http://www.codeproject.com/csharp/cscompiler.asp thanks Orion
Yeah. I know where the article is. :) The subtle point was to let you know that you need to include links like this instead of assuming the people helping out here have the time to go searching for them ;) Cheers, Tom Archer Author, Inside C# A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
-
Yeah. I know where the article is. :) The subtle point was to let you know that you need to include links like this instead of assuming the people helping out here have the time to go searching for them ;) Cheers, Tom Archer Author, Inside C# A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
your right. my apologies :) did you need any other info? the ICodeCompiler doesn't have any properties i can set. and the dll will be written before its assigned to the CompilerResults object. ideally i'd like to write it to the MS temp directory. Orion Orion
-
your right. my apologies :) did you need any other info? the ICodeCompiler doesn't have any properties i can set. and the dll will be written before its assigned to the CompilerResults object. ideally i'd like to write it to the MS temp directory. Orion Orion
Orion Buttigieg wrote: your right. my apologies No worries. Just saves us time. Orion Buttigieg wrote: the ICodeCompiler doesn't have any properties i can set. and the dll will be written before its assigned to the CompilerResults object. Ideally i'd like to write it to the MS temp directory Actually, I've not worked through the demo and haven't needed to do what you're talking about. If nobody has figured this out by the time I get home (I'm on the way to pick up kids now), I'll look at it tonight and try and help. Cheers, Tom Archer Author, Inside C# A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.