# Using PDFlib GmbH Products with .NET

Please refer to the product-specific documentation for more details regarding the use of PDFlib GmbH products with .NET.


## Examples

The examples are configured to simply work. The commands below can be used to run the `hello` example in different environments:

C#

    cd csharp/hello
    dotnet run

VB.NET

    cd VB.NET/hello
    dotnet run

ASP.NET

    cd ASP.NET/hello
    dotnet watch run

The supplied examples use the following Target Framework Moniker (TFM) in the project files:

    <TargetFramework>net8.0</TargetFramework>

If you use a different version of .NET you may get an error message like:

    It was not possible to find any compatible framework version

along with details about the installed frameworks as well as instructions about installing the required framework.


You can solve this in one of the following ways:

- change the `<TargetFramework>` entry in the project file (see example below)
- install the compatible framework as explained in the error message
