Runtime Library : value "MDd_DynamicDebug" doesn’t match value "MD_DynamicRelease" in project

  c++, dll, multithreading, visual-studio-2010

In my project when i try to rebuild the entire project in DEBUG mode , I was able generate the DLLs,
Then I go the property –> c/c++ –> code Generation –> Runtime Library , and switched to Multi-threaded DLL(/MD) from Multi-threaded Debug DLL (/MDd) to generate DLL in release mode as well.
But strange I am facing this issue :
LNK2038 mismatch detected for ‘Runtime Library : value "MDd_DynamicDebug" doesn’t match value "MD_DynamicRelease" in project.obj

Note : I checked my configuration Type as well : Dynamic Library (.dll)

Source: Windows Questions C++