Files
gh-lucaspimentel-claude-cod…/commands/azure-functions-nuget.md
2025-11-30 08:38:16 +08:00

884 B

description
description
Build Azure Functions NuGet package

Build the Datadog Azure Functions NuGet package for testing.

Steps:

  1. Run the build script: tracer/tools/Build-AzureFunctionsNuget.ps1 -CopyTo D:/temp/nuget
  2. The script will:
    • Build the Datadog.AzureFunctions project
    • Create a NuGet package
    • Copy it to the specified directory

Usage in Azure Functions:

  • Add local NuGet source in nuget.config pointing to D:/temp/nuget
  • Reference the package in your function app: <PackageReference Include="Datadog.AzureFunctions" Version="..." />

After building:

  • Report the package version and location
  • Show the output directory contents
  • Provide instructions for testing in a function app

Related commands:

  • Test with Azure Functions: Use BuildAndRunWindowsAzureFunctionsTests Nuke target
  • Sample apps: tracer/test/test-applications/azure-functions/