I have previously referenced an old version of a dll but have now changed it to a newer version. But for some reason it sometimes still copies the old version of the dll when debugging.
If I first clean the solution and then hit debug (F5) it uses the correct version of the dll.
On the other hand if I first clean the solution, then build the solution (CTRL+SHIFT+B) and then hit debug (F5) it uses the old version. The strange thing is that if I just clean the solution and then build the solution, it copies the correct dll. So it is only when cleaning, building and then debugging it uses the old dll.
I have deleted the reference and readded it referencing the new version of the dll, but it still copies the old dll sometimes per the behavior above.
I am using Visual Web Developer 2010 Express.
Any ideas why ?
thanks
Thomas