> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/uwp/get-started/integration.md).

# Get started integrating Apryse UWP SDK

Integrate a free trial of the Apryse UWP SDK into your Visual Studio projects for UWP applications. Follow this guide to seamlessly integrate with NuGet or manually download the SDK. Get unlimited tri

Welcome to Apryse. This guide will help you integrate a free trial of the Apryse UWP SDK into your Visual Studio projects for UWP applications. You can either integrate Apryse packages automatically using NuGet Package Manager, or install them manually by downloading the SDK. Pick whichever option you prefer, but integrating with NuGet is the recommended approach. Your free trial includes unlimited trial usage and support from solution engineers.

{% tabs %}
{% tab title="Integrate with NuGet" %}

## Integrate UWP PDF library with NuGet

## Prerequisites

* [Visual Studio](https://visualstudio.microsoft.com/vs/older-downloads/) 2017 or higher.Make sure the `Universal Windows Platform development` workload is part of your installation.

{% hint style="info" %}
**No trial license key required.**

The trial of Apryse Mobile SDK does not require a trial key. A commercial license key is required for use in a production environment. Please [contact sales](https://apryse.com/form/contact-sales) to purchase a commercial key or if you need any other license key assistance.
{% endhint %}

{% hint style="warning" %}
**Keep your license keys confidential.**

License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).
{% endhint %}

## Setup

1. Open a new instance of Visual Studio and create a new Project (`File -> New -> Project...`). In the new project dialog, select the language of your choice for UWP development. Call the application `myapp-uwp`.

![](https://3246663708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frgmys2szYV2Z567Zu3vi%2Fuploads%2Fgit-blob-1189cbd79cfb41c037c5bce19ec8172710873d90%2F4824c6f52c53694da5f7f3530dd2529775eabd81-1920x1030.png?alt=media)

## Integrate Apryse into your UWP Application

1. Find your project in the Solution Explorer. Right Click on the project and click on `Manage NuGet Packages...`. In the package manager, select the **Browse** tab and search for `PDFTron.UWP`. Install this package.You can also find the package on [nuget.org](https://www.nuget.org/packages/PDFTron.UWP/).

![](https://3246663708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frgmys2szYV2Z567Zu3vi%2Fuploads%2Fgit-blob-5712e42a032f044b92b4524649fad1858599a1fa%2Fb594738f6d8bedc5a025ac6fb6419876cd8aa979-1920x1029.png?alt=media)

1. Open `MainPage.xaml`. Replace the contents of the `<Grid></Grid>` tag with:

{% code lineNumbers="true" %}

```xml
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
    <Grid.RowDefinitions>
        <RowDefinition Height="*"/>
        <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>

    <Border x:Name="PDFViewBorder" Grid.Row="0"/>

    <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="5">
        <Button x:Name="OpenButton">Open</Button>
    </StackPanel>
</Grid>
```

{% endcode %}

## Next step

<a href="/uwp/get-started/viewdoc.md" class="button primary">View a document</a>

## Troubleshooting

[Why can't I use "Any CPU" configuration for UWP?](/uwp/get-started/faq/nuget-faq.md#why-cant-i-use-any-cpu-configuration-for-uwp) Projects that contain native code cannot use the "Any CPU" configuration
{% endtab %}

{% tab title="Integrate Manually" %}

## Manually integrating UWP PDF library

## Prerequisites

* [Visual Studio](https://visualstudio.microsoft.com/vs/older-downloads/).Make sure the `Universal Windows Platform development` workload is part of your installation.
* Apryse's PDF library for UWP:

Download the SDK

[Download](https://pdftron.s3.amazonaws.com/custom/ID-zJWLuhTffd3c/mobilechannel_6D420A76/UniversalApps-gr)%24s3%5Ej/PDFNetUWPApps\_10.6.0.zip)

{% hint style="info" %}
**No trial license key required.**

The trial of Apryse Mobile SDK does not require a trial key. A commercial license key is required for use in a production environment. Please [contact sales](https://apryse.com/form/contact-sales) to purchase a commercial key or if you need any other license key assistance.
{% endhint %}

{% hint style="warning" %}
**Keep your license keys confidential.**

License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).
{% endhint %}

## Setup

1. Extract the folder from the .zip file. **This article uses `PDFNET_BASE` as the path into the `PDFNetUWPApps` folder that you extracted.**

{% code lineNumbers="true" %}

```sh
PDFNET_BASE = path/to/extraction/folder/PDFNetUWPApps/
```

{% endcode %}

1. Navigate to `PDFNET_BASE/Lib/` and execute the `PDFNetUWPApps.vsix` file by double clicking it. When the dialog prompts, click on `Install`. The `Global Location` installation is required.Wait for the installation to finish and close the dialog.

![](https://3246663708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frgmys2szYV2Z567Zu3vi%2Fuploads%2Fgit-blob-9cb2fa5de4d343f040eca4f0d1d036aa010db723%2F3e14b5aa979ae63289ceffc06be42b3820632249-547x414.png?alt=media)

1. Open a new instance of Visual Studio and create a new Project (`File -> New -> Project...`). In the new project dialog, select the language of your choice for UWP development. Call the application `myapp-uwp`.

![](https://3246663708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frgmys2szYV2Z567Zu3vi%2Fuploads%2Fgit-blob-1189cbd79cfb41c037c5bce19ec8172710873d90%2F4824c6f52c53694da5f7f3530dd2529775eabd81-1920x1030.png?alt=media)

## Integrate Apryse into your UWP Application

1. Find your project in the Solution Explorer. Right Click on the project and in the menu click on `Properties`. In the Configuration manager, select the **Build** tab. Make sure that the Build target is not `Any CPU`.
2. Find the References item in the solution explorer. Right click on it and select `Add Reference...`. In the left pane of the dialog, select `Universal Windows`. Then select `Extensions` and in the list that appears, check the box next to `PDFNet SDK for UWP`.This will allow you to use Apryse related namespaces. If you cannot find this option, see [FAQ](/uwp/guides/manual-faq.md)

![](https://3246663708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frgmys2szYV2Z567Zu3vi%2Fuploads%2Fgit-blob-ca2e98faf92dfe565ddb8e170954ed65d8038408%2Fbc251ee90417e05b2c0de44b69439dd91e875358-1815x461.png?alt=media)

1. Open `MainPage.xaml`. Replace the contents of the `<Grid></Grid>` tag with:

{% code lineNumbers="true" %}

```xml
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
    <Grid.RowDefinitions>
        <RowDefinition Height="*"/>
        <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>

    <Border x:Name="PDFViewBorder" Grid.Row="0"/>

    <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="5">
        <Button x:Name="OpenButton">Open</Button>
    </StackPanel>
</Grid>
```

{% endcode %}

## Next step

<a href="/uwp/get-started/viewdoc.md" class="button primary">View a document</a>

## Troubleshooting

[Why can't I use "Any CPU" configuration for UWP?](/uwp/get-started/faq/manual-faq.md#why-cant-i-use-any-cpu-configuration-for-uwp) Projects that contain native code cannot use the "Any CPU" configuration

[Why can't I see the SDK in the Reference Manager?](/uwp/get-started/faq/manual-faq.md#why-cant-i-see-the-sdk-in-the-reference-manager) You may have to re-install SDK if it cannot be found
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.apryse.com/uwp/get-started/integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
