884 B
884 B
description
| description |
|---|
| Build Azure Functions NuGet package |
Build the Datadog Azure Functions NuGet package for testing.
Steps:
- Run the build script:
tracer/tools/Build-AzureFunctionsNuget.ps1 -CopyTo D:/temp/nuget - 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.configpointing toD:/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
BuildAndRunWindowsAzureFunctionsTestsNuke target - Sample apps:
tracer/test/test-applications/azure-functions/