Dear guys,
I'm using C# 2.0, I have a Windows application that references several dll's. Each time I modify a particular dll, I have to recompile the other dll's that references it, and finally compile the application that references all those dll's.
I'm thinking of building a console application (rather than a batch file) that would do all that, so I would just run that console application, and it would automatically compile everything in the right order, right references, and also write to a log file.
I came across the ManagedCompiler class (Microsoft.Build.Tasks namespace), but I couldn't find sufficient documentation on MSDN, so I can't really tell if that class would do what I think it would do. And also I couldn't find examples on compiling through an application, although there were lots on command line compilers.
So, would anyone please show me the right direction? 'Cause this application it would save a lot of time, rather than compiling the dll's and the application one by one. Or anyone has a better solution?
Thank you.
I'm using C# 2.0, I have a Windows application that references several dll's. Each time I modify a particular dll, I have to recompile the other dll's that references it, and finally compile the application that references all those dll's.
I'm thinking of building a console application (rather than a batch file) that would do all that, so I would just run that console application, and it would automatically compile everything in the right order, right references, and also write to a log file.
I came across the ManagedCompiler class (Microsoft.Build.Tasks namespace), but I couldn't find sufficient documentation on MSDN, so I can't really tell if that class would do what I think it would do. And also I couldn't find examples on compiling through an application, although there were lots on command line compilers.
So, would anyone please show me the right direction? 'Cause this application it would save a lot of time, rather than compiling the dll's and the application one by one. Or anyone has a better solution?
Thank you.