UI:Microsoft.Advertising.Mobile.UI中不存在AdControl [英] UI:AdControl does not exist in Microsoft.Advertising.Mobile.UI

查看:155
本文介绍了UI:Microsoft.Advertising.Mobile.UI中不存在AdControl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好 - 我的应用程序几天前工作正常,但现在突然它给了我关于微软广告SDK的错误。



"名称" AdControl"名称空间中不存在"... Microsoft.Advertising.Mobile.UI""。



我尝试修复广告SDK 。我尝试卸载并重新安装它。我重新启动了visual studio。我清理了解决方案。



我不知所措。我打算开始运行测试来发布我的应用程序,现在我遇到了这些问题。 :(

解决方案

请检查是否已安装所有dll。


对于WP7,请检查文件夹:C:\Program Files \(x86)\ Mysoftoft SDKs \Advertising for Phone


对于WP8,请检查此文件夹:C:\Program Files \(x86 )\ Microsoft Office SDK \ Windows Phone \v8.0 \ExtensionSDKs \ MSAdvertising


检查您的Xap文件(zip)以查看是否已打包dll。


尝试在没有VS(msbuild)的情况下构建项目。也许是VS Xaml设计器问题。


尝试检查xaml命名空间。


尝试创建一个快速应用程序并拖放AdControl以查看它是否有效。如果有效,请对xaml进行区分。






Hello -- my application was working fine a few days ago, but now suddenly it gives me errors about the Microsoft advertising SDK.

"The name "AdControl" does not exist in the namespace "... Microsoft.Advertising.Mobile.UI"".

I tried repairing the advertising SDK. I tried uninstalling and reinstalling it. I restarted visual studio. I cleaned the solution.

I am at a loss. I was going to start running the tests to publish my app and now I ran into these problems. :(

解决方案

Please check whether all dlls are installed.

For WP7, check this folder : C:\Program Files\(x86)\Microsoft SDKs\Advertising for Phone

For WP8, check this folder : C:\Program Files\(x86)\Microsoft SDKs\Windows Phone\v8.0\ExtensionSDKs\MSAdvertising

Check your Xap file (zip) to see whether dlls has been packaged.

Try to build your project without VS (msbuild). Maybe it is VS Xaml designer issue.

Try to check the xaml namespace.

Try to create a quick app and drag/drop AdControl to see whether it works or not. If works, diff the xaml.




这篇关于UI:Microsoft.Advertising.Mobile.UI中不存在AdControl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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