I am new to windows, I have a dll project that generates a dll and a test project which is an exe that consumes or calls the functions in dll. I am using visual studio 2010 to execute this. currently when i check the general properties of dll under configuration properties , the target name is DecryptEmailDll and target extension is .dll .With this the test exe runs fine and I get the desired output. But when i try to rename the dll's target name to TransformEmail, the build is fine ,but while running it says "unable to find DecryptEmailDll" . I am not able to understand why it is trying to find the old dll with the old name and not the new one.