Skip to content

Commit 6df4d40

Browse files
Merge pull request #39 from Adrotator/packagingFix
Packaging fix
2 parents 28fb8f8 + 31f3743 commit 6df4d40

File tree

2 files changed

+35
-28
lines changed

2 files changed

+35
-28
lines changed

AdRotatorNuGetPackager/Package.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@
1313
<description>An AdRotator control for Windows 8 / Windows Phone to support multiple Ad Providers in your apps / games
1414

1515
Supports:
16-
* Windows Phone 7/8
16+
* Windows Phone 7 / 8 / 8.1
1717
* Windows 8 / 8.1
18+
* Windows Universal Apps
1819
* Unity V4+ (WP8 + Win8)
1920

2021
Includes the ability to configure supported ad providers from within the solution or remotely to allow re-configuration without re-libing.
2122

2223
Be sure to read the included readme for installation instructions
2324

2425
Full documentation available at http://getadrotaor.com</description>
25-
<summary>the ultimate Ad Rotating solution to manage all your Ad Providers</summary>
26-
<releaseNotes>Patch release to resolve an unwanted exception from missing or bad provider dll's
26+
<summary>The ultimate Ad Rotating solution to manage all your Advertising Providers</summary>
27+
<releaseNotes>Updated to fully support Win 8.1 / WP 8.1 and Universal apps
2728
See the releaseNotes.txt or GetAdRotator.com for more details of improvements</releaseNotes>
2829
<copyright>Copyright 2013</copyright>
2930
<language>en-GB</language>

AdRotatorNuGetPackager/content/ReadMe-AdRotator-XAML.txt

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,39 @@
1-
Welcome to AdRotator for XAML projects includng Windows 8 and Windows Phone Silverlight
1+
Welcome to AdRotator for XAML projects including Windows 8/8.1, Windows Phone 8.1, Universal and Windows Phone Silverlight
22

33
Included in this package is:
44

55
* This Readme :D
66
* ReleaseNotes
77
* AdRotator DLL's
88
* Sample "DefaultAdSetings.XML" configuration file
9+
* Notice on WinRT projects (Win 8, 8.1, WP 8.1 & Universal apps)
10+
* Unity installation instructions - Jump to the end of this readme
911

1012
**Note
11-
We no longer include Ad Provider specific DLL's, you need to obtain the latest version from each provider, here is a list of Provider Dev pages:
12-
(Except AdDuplex as they provide a NuGet package it is included by default)
13+
We no longer include Ad Provider specific DLL's, you need to obtain the latest version from each provider.
14+
Here is a list of Provider Dev pages:
1315

1416
* PubCenter - (Win8) http://go.microsoft.com/fwlink/p/?LinkID=285861 (WP) Inc with Windows Phone SDK **See notes below
17+
(Direct links to MS Ad SDK's - WP http://bit.ly/MSAdSDKWP8 & Windows 8/8.1 http://bit.ly/MSAdSDK81)
1518
* Smaato - http://www.smaato.com/sdks/
1619
* MobFox - (Contact Mobfox)
1720
* AdMob - https://developers.google.com/mobile-ads-sdk/download
1821
* Innerative - https://console.inner-active.com/iamp/wiki (need to be logged in)
1922
* Inmobi - http://www.inmobi.com/developers/download-center/
2023
* DefaulthouseAds - Build your own :D
24+
* None, disable AdRotator remotely through the configuration file
2125

2226
---
23-
**At this time we have not tested AdRotator with Universal projects, please feed back any issues to the GitHub page - https://github.com/Adrotator/AdrotatorV2
24-
25-
2627
To implement this control add the following XAML to your project:
27-
Add a custom namespace to the AdRotator Control, e.g.:
28+
Add a custom namespace to the XAML page you want to display AdRotator on, e.g.:
2829
<!--Windows Phone -->
2930
xmlns:adRotator="clr-namespace:AdRotator;assembly=AdRotator"
3031

31-
<!--Windows 8 -->
32+
<!--Windows 8, 8.1, WP8.1 and Universal projects -->
3233
xmlns:adRotator="using:AdRotator"
3334

3435
Then add the control to your page:
35-
(We recommend using a UserControl in your project for implementation especially if you intend to use it on several pages)
36+
(We recommend embedding AdRotator in a UserControl for your project for implementation, especially if you intend to use it on several pages)
3637

3738
<adRotator:AdRotatorControl
3839
x:Name="MyAdRotatorControl"
@@ -42,40 +43,45 @@ Then add the control to your page:
4243
RemoteSettingsLocation="http://<your site here>/defaultAdSettings.xml"
4344
AutoStartAds="True" />
4445

45-
A default config XML file is added for you with this project with the correct Build action and copy options, just update the configuration appropriate to your installation.
46+
A default configuration XML file is added for you with this project, with the correct Build action and copy options, just update the configuration appropriate to your installation.
4647

47-
If you add it manually on Windows Phone, set the build action of the config file to "Content" and use the configuration above
48+
If you add your configuration file manually on Windows Phone, set the build action of the config file to "Content" and use the configuration above
4849
AdRotator at this time does NOT support relative paths so the local configuration must be deployed in he project, for example
4950

5051
DefaultSettingsFileUri="/<project assembly name>;component/defaultAdSettings.xml" <-- Not supported
5152

52-
If you need to share a configuration file between projects then "Link" the configuration file from a central folder or just use remote configuration.
53+
If you need to share a configuration file between projects then "Link" the configuration file in the solution explorer, from a central folder or just use remote configuration.
5354

54-
Lastly configure the XML configuration file (optionally host it on the web to allow remote configuration) for your Ad Provider settings or alternatively set the providers in the XAML
55+
Lastly, configure the XML configuration file (optionally host it on the web to allow remote configuration) for your Ad Provider settings or alternatively set the providers in the XAML
5556

5657
For more instructions on how to implement this control and all the other configuration options checkout the AdRotator host site
5758
http://getadrotator.com
5859

59-
** PubCenter and AdDuplex support for Windows 8
60-
In order to support WinRT controls on Windows 8, like those now used by PubCenter and AdDuplex, you need to pass a reference to the assembly in your project.
60+
** PubCenter and AdDuplex support for Windows 8 / Windows 8.1 / WP 8.1
61+
In order to support WinRT controls on WinRT platforms, like those now used by PubCenter and AdDuplex, you need to pass a reference to the assembly in your project.
6162

62-
For Pubcenter, install the Windows 8/8.1 SDK as normal and reference the "Microsoft Advertising SDK", then include the following in the page code behind constructor.
63-
Note - name of your control, this uses your XAML or programmatic instance
63+
For Pubcenter, install the MS Ad SDK as normal (Win 8 http://bit.ly/MSAdSDK81 and WP8.1 http://bit.ly/MSAdSDKWP8) and reference the "Microsoft Advertising SDK", then include the following in the page code behind constructor.
64+
Note - Check the name of your control, this uses your XAML (above) or programmatic instance
6465

65-
MyAdRotatorControl.PlatformAdProviderComponents.Add(AdRotator.Model.AdType.PubCenter, typeof(Microsoft.Advertising.WinRT.UI.AdControl));
66+
MyAdRotatorControl.PlatformAdProviderComponents.Add(AdRotator.Model.AdType.PubCenter, typeof(AdControl)); //<- Resolve to Microsoft AdControl
6667

67-
For AdDuplex, add the control via NuGet using the AdDuplex SDK for Windows8 (Xaml edition) NuGet package, then include the following in the page code behind constructor.
68-
Note - name of your control, this uses your XAML or programmatic instance
68+
For AdDuplex, add the control via the new AdDuplex AD SDK (http://bit.ly/AdDuplexVSIX), then include the following in the page code behind constructor.
69+
Note - Check the name of your control, this uses your XAML (above) or programmatic instance
6970

70-
MyAdRotatorControl.PlatformAdProviderComponents.Add(AdRotator.Model.AdType.AdDuplex, typeof(AdDuplex.Controls.AdControl));
71+
MyAdRotatorControl.PlatformAdProviderComponents.Add(AdRotator.Model.AdType.AdDuplex, typeof(AdControl)); //<- Resolve to AdDuplex AdControl
7172

7273
This enables AdRotator to access the local WinMD components for each control.
7374

74-
***For Unity, these references need to go in your App.XAML.cs constructor and look as follows:
75+
***For Unity, add the following in your App.XAML.cs constructor, as follows:
7576
//PubCenter
76-
AdRotatorUnitySDK.Integration.AdRotatorBridge.PlatformAdProviderComponents.Add(AdRotator.Model.AdType.PubCenter, typeof(Microsoft.Advertising.WinRT.UI.AdControl));
77+
AdRotatorUnitySDK.Integration.AdRotatorBridge.PlatformAdProviderComponents.Add(AdRotator.Model.AdType.PubCenter, typeof(AdControl)); //<- Resolve to Microsoft AdControl
7778
//AdDuplex
78-
AdRotatorUnitySDK.Integration.AdRotatorBridge.PlatformAdProviderComponents.Add(AdRotator.Model.AdType.AdDuplex, typeof(AdDuplex.Controls.AdControl));
79+
AdRotatorUnitySDK.Integration.AdRotatorBridge.PlatformAdProviderComponents.Add(AdRotator.Model.AdType.AdDuplex, typeof(AdControl)); //<- Resolve to AdDuplex AdControl
80+
81+
***Unity Universal games
82+
Unity by default puts both your App.XAML and MainPage.XAML pages in the shared project.
83+
TO configure AdRotator with Unity, you will need to copy these to each of the Windows Phone and Windows 8 projects because they need to be configured separately.
84+
7985

8086

8187
For further examples check the example projects in the GitHub source @ https://github.com/Adrotator/AdrotatorV2
@@ -85,7 +91,7 @@ This version of V2 also now supports our Unity plug-in for Windows 8 & Windows P
8591

8692
Final Note
8793
----------
88-
If you are using AdRotator and it is helping you to be more profitable, please consider donating to help support further development and support.
94+
If you are using AdRotator and it is helping you to be more profitable, please consider donating to help support further development and maintenance.
8995
http://getadrotator.com/
9096

9197
The AdRotator Team

0 commit comments

Comments
 (0)