Friday, April 22, 2011

Visual Studio 2010 Compilation Error

While working with Visual Studio 2010 in Silverlight coding I got this error message.

"Unable to attach to application. The version of clr.dll in the target does not match the one mscordacwks.dll was built for.Do you want to continue anyway ?"

I tried cleaning up the solution and rebuilding still did not fix anything.

Finally after some research I found out that this error happens when the Windows Updates is on progress.

I waited till Windows updates are complete and then restarted the laptop.

Then recompiled and it worked.

Hope this helps.

Here is the snapshot of the error image.

No comments:

Post a Comment

All Blogs so far ...