Search Results for

    Show / Hide Table of Contents

    Download assets

    Version 6.1.0

    Important

    To successfully use any of the PDFsharp repositories you must read this article.

    In this article

    • Why assets folder?
    • How to download

    After cloning one of the PDFsharp repositories you must download its assets folder.

    Why assets folder?

    To develop PDFsharp and MigraDoc, the test code and the examples need resources like images, fonts, PDF files, etc. to run properly. Since PDFsharp 6.0 these resources are not part of the code repositories anymore. Instead we have a single private repository PDFsharp.Assets that contains all we need for the pure code repositories PDFsharp, PDFsharp.Samples, etc. The content of the assets repository is automatically published under assets.pdfsharp.net when it gets pushed to the master branch.

    Each PDFsharp repository comes with a PowerShell script download-assets.ps1 that downloads all resources required by its solution.

    How to download

    After you have cloned a PDFsharp repository to you computer go to the root folder of the solution and execute

    .\dev\download-assets.ps1
    

    This PowerShell script downloads all resources you need to execute example code in the respective repository.

    • Edit this page
    In this article
    Generated by DocFX  |   Privacy policy  |   Legal notice
    Back to top