Installation

Evaluate Aspose.Page for .NET

You can easily download Aspose.Page for .NET in order to evaluate the API. The evaluation download is the same as the purchased download. The evaluation version simply becomes licensed when you add a few lines of code to apply the license.

Unlicensed product allows converting of PostScript files which size is no more than 1KB and resulting PDF document in such cases will contain evaluation mark. Furthermore, it will allow manipulating no more than 4 XPS elements and resulting document or image in such cases will also contain evaluation mark.

Installing Aspose.Page for .NET through NuGet

NuGet is a free, open-source developer-focused package management system for the .NET platform intent on simplifying the process of incorporating third party libraries into a .NET application during development. It is a Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects that use the .NET Framework. A library or tool can easily be shared with other developers by creating a NuGet package and storing it inside a NuGet repository. When you install the package, NuGet copies files to your solution and automatically makes the necessary changes, such as adding references and changing your app.config or web.config files. If you decide to remove the library, NuGet removes files and reverses whatever changes it made to your project so that no clutter is left.

Referencing Aspose.Page for .NET

Taking benefit of this wonderful feature, we have bundled Aspose.Page for .NET libraries into a NuGet package and uploaded it to a NuGet repository. With this option, you benefit from using Aspose.Page for .NET without installing this component on your system. NuGet runs in Visual Studio 2010 and higher version(s), Visual Web Developer 2010, and Windows Phone Developer Tools 7.1. In our tests, we have tested it with Visual Studio 2019.

To get started:

  1. Open your solution or project in Visual Studio.
  2. Add NuGet Package Manager as a Visual Studio extension:
    1. Select the Tools menu followed by Extension Manager.
    2. Select Online Gallery to get a complete list of packages available online.
    3. Select NuGet Package Manager.
    4. Click Download.
    5. Once the package Manager is installed, restart Visual Studio to bring the changes into effect.  When NuGet Package Manager is installed, you can find, install, remove, and update packages from the Manage NuGet Packages window, or by using PowerShell command-line commands in the Package Manager Console dedicated Visual Studio window. You can find both options if you select the Tools followed by Library Package Manager.

Install Package using Package Manager Console

To reference the component using the package manager console:

  1. Open your .NET application in Visual Studio.
  2. On the Tools menu, select Library Package Manager and then Package Manager Console.
  3. Type the command “Install-Package Aspose.Page” to install the latest full release.
  4. Press Enter.

Update package using Package Manager Console

If you have already referenced the component through NuGet, follow these steps to update the reference to the latest version:

  1. Open your .NET application in Visual Studio.
  2. From the Tools menu, select Library Package Manager, followed by Package Manager Console to open the Package Manager console.
  3. Type the command “Update-Package Aspose.Page” to reference the latest full release.
  4. Press Enter.

Install Package using the Package Manager GUI

Follow these steps to reference the component using the package manager GUI:

  1. Open your .NET application in Visual Studio.
  2. From the Tools menu, select Library Package Manager and Manage NuGet Packages from the Solution option.  You can also get a similar option from the Solution Explorer:
    1. Right-click the project name.
    2. Select Manage NuGet Packages.
  3. Select online from the left menu.
  4. Type Aspose.Page into the search box to find Aspose.Page for .NET.
  5. Click Install/Update next to the latest version of Aspose.Page for .NET.

Manually download Aspose.Page for .NET from NuGet

You can download the DLL of Aspose.Page for .NET from NuGet without using Package Manager Console or Package Manger GUI. Simply browse to this package link and then click on Manual Download link. Once you download it, change the file extension from .nupkg to .zip and extract it using any ZIP manager.