How can I make the namespace locally match what is listed on MSDN?

China☆狼群 提交于 2020-01-06 12:52:31

问题


I'm using Microsoft Visual Studio 2013 Premium. When I consult MSDN, it lists the classes available for the Microsoft.VisualStudio.TestTools.UITesting namespace. However when I view that namespace through the Object Browser, it doesn't list all of the classes. This is further evidenced when I try to use the ImageComparer class. How can I get all of the classes?

MSDN: http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.uitesting.aspx

Local Object Browser:


回答1:


It's possible that you've referenced a different Microsoft.VisualStudio.TestTools.UITesting.dll . This can happen if you've had multiple versions of VS installed. Did you browse to the location for this or did you add it from Assemblies? Both can make quite the difference.



来源:https://stackoverflow.com/questions/23021118/how-can-i-make-the-namespace-locally-match-what-is-listed-on-msdn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!