>Using VS2005. I have several referenced DLLs in my project. When I build or rebuild solution, one of my DLLs does not get updated. The date and time stamp on this DLL does not change.
>
>If I right click on the DLL in the solution explorer and click on update reference, the DLL does update with a current datetime stamp. However, if I build or rebuild solution again, this DLL will revert back to it's original datetime stamp.
>
>How can I ensure that all my referenced DLLs are updated when I build or rebuild solution?
>
It's possible the projects don't have the correct build order/dependency order. Right-click on the project that has a reference to the DLL that doesn't get updated. Select Project Dependencies. Check to see if you have a dependency to the other project - click on the Build Order tab and make sure the DLL in question's project is built in the correct order.
It's also possible the DLL itself was selected as a reference instead of the project (remove the reference, add it back in and select Projects and select the correct project).