Our solution resides on TFS 2010 and now has 39 projects in it. One windows application project and 38 class libraries. So far, our windows application project holds all references to all class libraries with CopyLocal=true. This way build produces one folder with all dll's in it along with our .exe.

This setup no longer works for us and we need to remove all references from windows app. project (dll's are loaded using reflection anyway). How can I configure build to work as before but without references in windows app. project?