AdDuplex的Adrotator问题

约翰·德米特里(John Demetriou)

我正在尝试在Windows Store应用程序中使用AdRotator,而我只是使用Nuget软件包管理器安装了它。我尝试运行我的应用程序时未在XAML / C#Windows应用商店应用程序中添加任何控件或代码,但它崩溃并引发有关AdDuplex的异常。

更准确地说,我得到以下异常

An exception of type 'System.IO.FileNotFoundException' occurred in AdRotatorWin8.DLL but was not handled in user code

Additional information: Could not load file or assembly 'AdDuplex.Windows, Version=8.0.2.0, Culture=neutral, PublicKeyToken=447cab5ae9276daf' or one of its dependencies. The system cannot find the file specified.

我不打算在我的应用程序中使用AdDuplex,但没有添加任何有关AdDuplex的代码,我一直在获取异常。卸载adrotator后,一切都会恢复正常。

检查软件包输出窗口后,将AdDuplex与AdRotator一起安装。我如何使我的应用正常工作?我的默认广告设置文件仅包含此内容

<?xml version="1.0" encoding="utf-8"?>
<AdSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CultureDescriptors>
    <AdCultureDescriptor CultureName="default">
      <Probabilities Probability="50" AdType="PubCenter" AppID="test_client" SecondaryID="Image_728x90" />
    </AdCultureDescriptor>
  </CultureDescriptors>
</AdSettings

正确设置了数字和ID,但显然我不能在这里共享它们。无论我做什么,问题仍然存在。

我尝试下载adDuplex,但Nuget中唯一可用的版本是8.0.5,理论上应该可以运行(因为错误是AdDuplex的早期版本),但仍然没有

约翰·德米特里(John Demetriou)

原来说AdDuplex版本的AdRotator存在问题,并且Adrotator已更新以适应新的更改

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章