Reference Debug/Release version dll's of external projects
-
Hello, I have a project in Visual Studio that references some external "Debug" dll's. It works fine in "Debug" mode. I want to rebuild this project in "Release" mode. Visual Studio complains that it cannot find the "Release" version of those external dlls. When I try to add the "Release" version of that external dll it complains that a reference to this dll (Debug version) already exists in this project. Replacing the the "Debug" version of the external dll with its "Release" version lets me rebuild my project in "Release" mode. I was wondering if there was a way around this, instead of switching the versions of the external dll's I use (between "Debug" and "Release") everytime I want to do a "Debug" or "Release" version of my project. I've never seen this before, it usually just finds the right dll by default. It suprised me. Thanks and Regards, Ramanan
"One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."
-
Hello, I have a project in Visual Studio that references some external "Debug" dll's. It works fine in "Debug" mode. I want to rebuild this project in "Release" mode. Visual Studio complains that it cannot find the "Release" version of those external dlls. When I try to add the "Release" version of that external dll it complains that a reference to this dll (Debug version) already exists in this project. Replacing the the "Debug" version of the external dll with its "Release" version lets me rebuild my project in "Release" mode. I was wondering if there was a way around this, instead of switching the versions of the external dll's I use (between "Debug" and "Release") everytime I want to do a "Debug" or "Release" version of my project. I've never seen this before, it usually just finds the right dll by default. It suprised me. Thanks and Regards, Ramanan
"One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."
Hello AFAIK your project shouldn't care if the version of the external dlls is debug or release. Did you make these dlls?? Maybe you referenced them by the project?? Try cleaning things up: 1- BACKUP YOUR PROJECT -sorry for the uppercase;)- 2- Remove all references to the dlls 3- Copy only the dlls files to your project's folder 4- Reference to the new dlls in your folder 5- Make sure "Copy Local" property is set to true Regards:rose: