I am developing a game using MonoGame and C# for Windows 10 UWP. I am having a problem when I try to use interstitial ads in the game. I make the initialization call like so in the App.xaml.cs
:
AdDuplex.AdDuplexClient.Initialize("application-id-here");
The debugger does not break on the call itself, but rather breaks after the OnLaunched
event is complete without specifying an exception.
I am using the latest version of the AdDuplex SDK. Tried using both the VS2015 extension and the Nuget package. Same result. I know it is not MonoGame, because I tried a similar call in a normal XAML app and got exactly the same result.
Is there something I am doing wrong?
I was never able to resolve this issue, but I reformatted my computer recently and was able to successfully incorporate AdDuplex into my app. It was obviously a problem with my development environment and reinstalling all the components solved the problem.