Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
What is this page about?
This page describes how to run the provided examples.
To become more familiar with the Aspose.Words possibilities and features we provide examples that can be downloaded from our GitHub repository, run, and learn in detail.
In this article, you can find the system requirements, as well as information on how to run the examples.
Please make sure you meet the following requirements before downloading and running the examples:
NuGet Automatic Package Restore feature in the Examples project. If you do not have an active Internet connection on the machine where the examples are to be executed, check the article Installation and manually add a reference to Aspose.Words.dll to the Examples project.All Aspose.Words for .NET examples are hosted on GitHub. You can either clone the repository using your favorite GitHub client or download the ZIP file.
After getting a copy of the repository, you may find that:
To run the examples, open the solution file in Visual Studio and build the project:
If you like to add or improve an example, we encourage you to contribute to the project. All examples and showcase projects in this repository are open source and can be freely used in your applications.
You can fork the repository, edit the source code, and create a pull request to contribute. We will review the changes and include them in the repository if found helpful.
Q: Do I need an Aspose.Words license to run the example projects?
A: No. The examples are shipped with a temporary evaluation license, so they can be built and executed without a purchased license. If you add your own license file to the project, the examples will run with full functionality and without evaluation restrictions.
Q: How can I run the examples on a machine that has no Internet connection?
A: First, download the repository and the required NuGet packages on a machine with Internet access. Then copy the entire packages folder (or the Aspose.Words.dll file) to the offline machine and add a reference to the DLL manually in the project. After that you can build and run the examples without needing to restore packages online.
Q: Can I run the examples with .NET 8 or Visual Studio 2022?
A: Yes. Open the solution in Visual Studio 2022, change the target framework of the example projects to .NET 8.0 (or any later supported version), restore NuGet packages, and rebuild. The code is compatible with newer .NET versions, but some older sample projects may reference legacy APIs that need minor adjustments.
Q: Why do I get an “Unable to locate package Aspose.Words” error when building the solution?
A: This usually means the NuGet source nuget.org is not enabled or the machine cannot reach the internet. Verify that nuget.org is selected in Tools → Options → NuGet Package Manager → Package Sources and that the network allows access to https://api.nuget.org/v3/index.json. If you are behind a proxy, configure the proxy settings in Visual Studio or restore the packages manually as described above.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.