You attempt to create a new Coded User Interface Test in Visual Studio 2010, and you get the following error:
The following package failed to load: C:Users[File Path Goes Here]Microsoft.VisualStudio.TestTools.UITest.Extension.IE.dll. Coded UI Test is now in an inconsistent state. Remove this package and restart Visual Studio to work with Coded UI Test.
For whatever reason, Visual Studio does not copy Microsoft.VisualStudio.TestTools.UITest.Extension.IE.dll into the solution, and but it thinks it did.
Just copy the file over yourself. Here’s how.
- Close Visual Studio
- Go to C:Program Files (x86)Microsoft Visual Studio 10.0Common7IDEPrivateAssemblies
- Copy the Microsoft.VisualStudio.TestTools.UITest.Extension.IE.dll file into the bin/debug directory
- Restart Visual Studio and try again.
No idea on the root cause, but that should fix the problem.
This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog
Written By Steve French