1

I (appear to) have successfully created a UWP package for my WPF application using the following guide:

https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-packaging-dot-net

Now I would like to take advantage of the AdControl class to display banner ads in my project, as detailed here:

https://docs.microsoft.com/en-us/windows/uwp/monetize/adcontrol-in-xaml-and--net

Is this possible? I don't see the "Universal Windows" section under References for my WPF project, which I can guess is because it’s not an original Universal Windows project. I do see it under References for the UWP package wrapper project I created using the guide above, but that doesn't help me show ads in the WPF project.

Any help appreciated.

4

1 に答える 1