---
title: "Portable Class Library (PCL) version of NotificationsExtensions NuGet package - Muhammad Rehan Saeed"
description: "NotificationsExtensions.Portable is a Portable Class Library (PCL) used to Create Windows 8.1 or Windows Phone 8.1 Tile, Toast and Badge Notification XML."
canonical_url: "https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/"
last_updated: "2014-05-06T00:00:00+00:00"
meta:
  author: "Muhammad Rehan Saeed"
  keywords: ".NET,C#,NotificationsExtensions,NuGet,Portable Class Library (PCL),Windows 8.1,Windows Phone,Windows Store,WinRT"
  "og:description": "NotificationsExtensions.Portable is a Portable Class Library (PCL) used to Create Windows 8.1 or Windows Phone 8.1 Tile, Toast and Badge Notification XML."
  "og:image": "https://rehansaeed.com/_og/s/o_1f63fd703be9d6fb.png"
  "og:image:alt": "Portable Class Library (PCL) version of NotificationsExtensions NuGet package - Muhammad Rehan Saeed"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Portable Class Library (PCL) version of NotificationsExtensions NuGet package"
  "twitter:image": "https://rehansaeed.com/_og/s/o_1f63fd703be9d6fb.png"
  "twitter:image:alt": "Portable Class Library (PCL) version of NotificationsExtensions NuGet package - Muhammad Rehan Saeed"
---

> Index of every page on this site: [llms.txt](https://rehansaeed.com/llms.txt)

# [Portable Class Library (PCL) version of NotificationsExtensions NuGet package](https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/)

Posted 6 May 2014 - **1 min read**

![NuGet](https://rehansaeed.com/_ipx/f_png&s_2560x1440/images/hero/NuGet-1366x768.png)

I have recently got into creating NuGet packages, when I had to create one for [Elysium Extra](https://rehansaeed.com/wpf-metro-part4-elysium-extra/). I discovered it was [really easy](http://docs.nuget.org/docs/creating-packages/using-a-gui-to-build-packages) to do too. I've just finished creating another one called, you guessed it `NotificationsExtensions.Portable` and I did in in 5 minutes!

# About Link to this section

`NotificationsExtensions.Portable` is a [Portable Class Library (PCL)](http://msdn.microsoft.com/en-us/library/gg597391%28v=vs.110%29.aspx) version of other `NotificationsExtensions` NuGet Packages. It's used to Create Windows 8.1 or Windows Phone 8.1 Tile, Toast and Badge Notification XML. This package is intended for use, instead of or as well as the following NuGet packages:

- [NotificationsExtensions.WinRT](https://www.nuget.org/packages/NotificationsExtensions.WinRT)
- [NotificationsExtensions.UniversalApps](https://www.nuget.org/packages/NotificationsExtensions.UniversalApps)

# Tile, Toast and Badge Templates Link to this section

This project helps to create XML representing Tile, Toast and Badge notifications on the Windows 8.1 and Windows Phone 8.1 platforms. You can take a look at the [template catalogue](http://msdn.microsoft.com/en-us/library/windows/apps/Hh761491.aspx) to see the types of templates available on these platforms.

![Wide Tile Template](https://rehansaeed.com/_ipx/f_png&s_1288x744/content-images/posts/2014/portable-class-library-version-of-notificationsextensions-nuget-package/images/Tiles.png)

# Why is this Useful? Link to this section

It's useful when trying to send notifications from the server side using Azure Mobile Services .NET Backend or some other .NET based push notification. When you want to create notification XML in a standard .NET project and not a WinRT project. I personally use it for my [London Travel Live](http://apps.microsoft.com/windows/en-gb/app/london-travel-live/2916d32f-2ca3-4325-adc0-c62b44306fae) and [Currency Converter Pro](http://apps.microsoft.com/windows/en-gb/app/currency-converter-pro/32863ebf-c907-4806-a2dd-864fb4b573da) apps.

# NuGet Link to this section

`NotificationsExtensions.Portable` is available on NuGet. Simply follow the instructions below:

1. Click Tools Menu Item in Visual Studio
2. Click NuGet Package Manager
3. Click Package Manager Console
4. Select Your Project in the Package Manager Console
5. Execute the following command to install `NotificationsExtensions.Portable`:

   ```powershell
   Install-Package NotificationsExtensions.Portable -Version 1.0.0
   ```

# Attribution and Changes Made Link to this section

All praise goes to the above two projects and the Microsoft developers who built them. The only changes I made to the code was to switch from `XmlDocument` to `XDocument`, remove a few WinRT specific references and stick it into a Portable Class Library (PCL).

## Web Mentions

[What's this?](https://en.wikipedia.org/wiki/Webmention)

### 0 Linked

### 0 Replies

## GitHub Comments

### 0 Comments

[Comment on GitHub](https://github.com/RehanSaeed/rehansaeed.github.io/issues/102)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://rehansaeed.com/#website","@type":"WebSite","description":"Software Developer at Microsoft, YouTuber, Open Source Contributor and Blogger","inLanguage":"en-GB","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com/","author":{"@id":"https://rehansaeed.com/#identity"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://rehansaeed.com/?search={search_term_string}"},"query-input":"required name=search_term_string"}],"publisher":{"@id":"https://rehansaeed.com/#publisher"}},{"@id":"https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/#webpage","@type":"WebPage","dateModified":"2014-05-06T00:00:00+00:00","datePublished":"2014-05-06T00:00:00+00:00","description":"NotificationsExtensions.Portable is a Portable Class Library (PCL) used to Create Windows 8.1 or Windows Phone 8.1 Tile, Toast and Badge Notification XML.","name":"Portable Class Library (PCL) version of NotificationsExtensions NuGet package","url":"https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/","breadcrumb":{"@id":"https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/#breadcrumb"},"isPartOf":{"@id":"https://rehansaeed.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/"]}]},{"@id":"https://rehansaeed.com/#identity","@type":"Person","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com/about/","image":{"@id":"https://rehansaeed.com/#/schema/image/1"},"sameAs":["https://github.com/RehanSaeed","https://www.linkedin.com/in/muhammad-rehan-saeed","https://stackoverflow.com/users/1212017/muhammad-rehan-saeed","https://www.youtube.com/c/MuhammadRehanSaeed","https://www.twitch.tv/rehansaeeduk"]},{"@id":"https://rehansaeed.com/#publisher","@type":"Organization","logo":"https://rehansaeed.com/images/schema/Publisher-600x60.png","name":"Muhammad Rehan Saeed","url":"https://rehansaeed.com"},{"@id":"https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/#article","@type":"Article","dateModified":"2014-05-06T00:00:00+00:00","datePublished":"2014-05-06T00:00:00+00:00","description":"NotificationsExtensions.Portable is a Portable Class Library (PCL) used to Create Windows 8.1 or Windows Phone 8.1 Tile, Toast and Badge Notification XML.","headline":"Portable Class Library (PCL) version of NotificationsExtensions NuGet package","inLanguage":"en-GB","url":"https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/","author":{"@id":"https://rehansaeed.com/#identity"},"image":[{"@type":"ImageObject","url":"https://rehansaeed.com/images/hero/NuGet-1366x768.png","caption":"NuGet","width":"1366","height":"768"}],"isPartOf":{"@id":"https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/#webpage"},"keywords":[".NET","C#","NotificationsExtensions","NuGet","Portable Class Library (PCL)","Windows 8.1","Windows Phone","Windows Store","WinRT"],"mainEntityOfPage":{"@id":"https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/#webpage"},"publisher":{"@id":"https://rehansaeed.com/#publisher"}},{"@id":"https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Blog","item":"https://rehansaeed.com/","position":1},{"@type":"ListItem","name":"Portable Class Library (PCL) version of NotificationsExtensions NuGet package","item":"https://rehansaeed.com/portable-class-library-version-of-notificationsextensions-nuget-package/","position":2}]},{"@id":"https://rehansaeed.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://rehansaeed.com/images/author/Muhammad-Rehan-Saeed/Logo-512x512.png","inLanguage":"en-GB","url":"https://rehansaeed.com/images/author/Muhammad-Rehan-Saeed/Logo-512x512.png"}]}
```

## Sitemap

See the full [sitemap](https://rehansaeed.com/sitemap.md) for all pages.
