Visual Studio .NET / 2005 / 2008 projects typically use a different path for the output/target dll for each configuration. Because of this, assembly references to these files in other projects are problematic. To resolve this problem, the assembly references can be made configuration-generic by using $(ConfigurationName) instead of a specific configuration name. The attached sample demonstrates how to update all assembly references in this manner for all projects.
See
http://forums.microsoft.com/msdn/sho...17743&siteid=1 for more details.