如何使名称空间在本地匹配MSDN上列出的名称空间? [英] How can I make the namespace locally match what is listed on MSDN?

查看:84
本文介绍了如何使名称空间在本地匹配MSDN上列出的名称空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Microsoft Visual Studio 2013 Premium.当我咨询MSDN时,它列出了可用于Microsoft.VisualStudio.TestTools.UITesting命名空间的类.但是,当我通过对象浏览器查看该名称空间时,它没有列出所有类.当我尝试使用ImageComparer类时,将进一步证明这一点.如何获得所有课程?

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/zh-我们/library/microsoft.visualstudio.testtools.uitesting.aspx

本地对象浏览器:

推荐答案

您可能引用了其他Microsoft.VisualStudio.TestTools.UITesting.dll.如果您已经安装了VS的多个版本,则可能会发生这种情况.您是浏览到该位置还是从程序集添加它?两者都可以带来很大的改变.

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.

这篇关于如何使名称空间在本地匹配MSDN上列出的名称空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆