Here is my scenario: we are planning to automate the deltabuild process, meaning I need to create a tool to facilitate this deltabuild process.
What I need to do is to compile only those files that have changes in it. How can I programmatically add an assembly reference to reference other dll’s so I don’t need to compile that other dll’s? Any help would be appreciated.
You can introspect the project file(s) and add or remove the project references based on the code files that have changed. This assumes, of course, that those code files that have changed are not dependent on the references you are removing. If you need to reference those other assemblies because your code files depend upon them, then you will need the references to build.