简体   繁体   English

wp7 CapabilityDetection.exe

[英]wp7 CapabilityDetection.exe

Is there a way to determine what (and where) in my code is causing certain capabilities to be required? 有没有办法确定我的代码中的哪些(以及在哪里)导致需要某些功能?

When I run CapabilityDetection.exe against my bin folder it comes up with: 当我对我的bin文件夹运行CapabilityDetection.exe时,它会出现:
ID_CAP_MEDIALIB ID_CAP_MEDIALIB
ID_CAP_NETWORKING ID_CAP_NETWORKING
ID_CAP_PHONEDIALER ID_CAP_PHONEDIALER
ID_CAP_WEBBROWSERCOMPONENT ID_CAP_WEBBROWSERCOMPONENT
ID_CAP_IDENTITY_USER ID_CAP_IDENTITY_USER

ID_CAP_MEDIALIB indicates that you're accessing the media library somewhere, but I've seen this reported incorrectly a lot. ID_CAP_MEDIALIB表示您正在某处访问媒体库,但我发现这个报告错误很多。 ID_CAP_NETWORKING means you're accessing a data connection at some point, ID_CAP_PHONEDIALER means that you're making a phone call, ID_CAP_WEBBROWSERCOMPONENT means that you've go the WebBrowser control on at least one page. ID_CAP_NETWORKING表示您在某个时刻访问数据连接,ID_CAP_PHONEDIALER表示您正在拨打电话,ID_CAP_WEBBROWSERCOMPONENT表示您已在至少一个页面上访问WebBrowser控件。 I don't think I've ever seen these reported in error. 我认为我没有看到这些报道是错误的。 ID_CAP_IDENTITY_USER means that you're using the anonymous Windows Live ID for user identification, which is typically the case when you're using a third party analytics solution such as mtiks or Flurry. ID_CAP_IDENTITY_USER表示您使用匿名Windows Live ID进行用户识别,这通常是您使用第三方分析解决方案(如mtiks或Flurry)时的情况。

There's a list of the various capabilities on MSDN . 有一个MSDN上各种功能的列表。 Generally speaking, if you don't think you're using a particular capability, take it out, and then check that your application still runs as expected. 一般来说,如果您认为自己没有使用特定功能,请将其取出,然后检查您的应用程序是否仍按预期运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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