简体   繁体   中英

Couldnot load file or assembly for Coded UI

I'm getting an exception while debugging my code in VS2010 premium. Its about version of the dll that I'm using

Microsoft.VisualStudio.TestTools.UITest.Extension.IE.Communication.Interop

Couldnot load file or assembly Microsoft.VisualStudio.TestTools.UITest.Extension.IE.Communication.Interop version=9.0.0.0

Which version of the dll is to be used and where it is available?

We are getting this exception because the dll is missing in the solution bin folder. If you are debugging the solution keep the dll under the folder Debug, or else release then keep it under the folder Release. If you are adding reference by using the option 'add reference', may be it won't be in these folders, so it happens to get this exception. So if you are getting this exception make sure that dll is added properly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM