How to Run the Examples – Aspose.SVG for .NET

Examples of using the API features are given as XUnit tests that serve to accompany the documentation. The XUnit tests help to attend the documentation and cover the possible uses of the API features.

For complete tests and data files download, please go to https://github.com/aspose-svg/Aspose.SVG-Documentation

Software Requirements

Please make sure you meet the following requirements before downloading and running the examples.

  1. Visual Studio 2010 or higher.
  2. NuGet Package Manager installed in Visual Studio. Make sure that the latest NuGet API version is installed in Visual Studio. For details on how to install NuGet package manager please check  https://docs.microsoft.com/en-gb/nuget/install-nuget-client-tools.
  3. Go to Tools->Options->NuGet Package Manager->Package Sources and make sure that the option nuget.org is checked.
  4. Example project uses NuGet Automatic Package Restore feature, therefore, you should have an active internet connection. If you do not have an active internet connection on the machine where examples are to be executed please check Installation and manually add a reference to Aspose.SVG.dll in the example project.

Download from GitHub

All tests of Aspose.SVG for .NET documentation are written in C# and hosted on GitHub.

Please feel free to reach out using our Forums if you have any issues setting up or running the examples.

How You can Run the Tests

To run the tests, choose Test > Test Explorer from the top menu bar. You can run all the tests in the project, all the tests in a group, or a set of tests that you select. Do one of the following:

After the tests have finished, a green checkmark indicates that a test passed. A red “x” icon indicates that a test failed.

Contribute

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 own applications.

To contribute, you can fork the repository, edit the source code and create a pull request. We will review the changes and include them in the repository if found helpful.

Aspose.SVG offers SVG Free Web Applications for converting SVG or image files, merging SVG files, Image Vectorizing, SVG sprite generating, SVG to Base64 data encoding, and text vectorizing. These online applications work on any operating system with a web browser and don’t require additional software installation. It’s a fast and easy way to efficiently and effectively solve your tasks!

Text “Banner for SVG Free Web Applications “

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.