簡體   English   中英

AdDuplex的Adrotator問題

[英]Adrotator issues with AdDuplex

我正在嘗試在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的早期版本),但仍然沒有

請按照以下網址中的說明進行操作: http : //darkgenesis.zenithmoon.com/adrotator-for-windows-8/

我相信你必須改變

defaultApSettings.xml

刪除AdDuplex並設置要使用的廣告服務。

一種替代解決方案是僅使用Nuget下載AdDuplex軟件包,但我認為如果您已決定不使用它,則不是最佳選擇。

原來說AdDuplex版本的AdRotator存在問題,並且Adrotator已更新以適應新的更改

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM