Search Results for

    Show / Hide Table of Contents

    Nuget Packages

    Flax.Build allows using Nuget Packages.

    To add a Nuget Package, open your *.Build.cs module and add code that is similar to the following in the Setup method. Flax will automatically download the Nuget package if needed.

    public override void Setup(BuildOptions options)
    {
        base.Setup(options);
    
        options.NugetPackageReferences.Add(new NugetPackage("<nuget package name>", "<nuget package version>", "<framework version to use>");
    }
    

    Once the script files are regenerated, the nuget package will be available to use in the module.

    • Improve this Doc
    In This Article
    Back to top Copyright © 2012-2026 Wojciech Figat