I have prepared new virtual machine for one project (WS 2008, SQL 2008, CRM 2011, VS 2010). I had to develop several plugins and I faced with issue - when I tried to debug plugin and attach to w3wp process I have got following error message - The version of clr.dll in the target does not match the one mscordacwks.dll was built for.
![](//3.bp.blogspot.com/-qxppGFcVJDw/TtANWxBBxqI/AAAAAAAAA_Q/eKRf_NE-K3g/s400/Debug_error.png)
I googled and have found possible solution -
Install SP1 for VS 2010. After installation and reboot of virtual machine I was able to attach to w3wp and debug plugins without any issue.