# The ExtensionsMetadataGenerator package was not imported correctly in Azure Logic Apps: cause and fix

Source page: https://ipaaserrors.com/azure-logic-apps/custom-code-extensionsmetadatagenerator-not-imported
Platform: Azure Logic Apps · Standard workflows: custom code functions (Visual Studio Code)
Checked against vendor docs: 2026-11-29

This build error for a Standard workflow's custom code project means .NET 6.0 is missing from the machine. Install .NET 6.0 or later, or uninstall and reinstall it if it is already installed.

## Error text

```
The ExtensionsMetadataGenerator package was not imported correctly.
The specified framework 'Microsoft.NETCore.App', version '6.0.0' was not found.
```

## Likely causes

- The .NET 6.0 runtime is not installed.

## How to fix it

1. Install .NET 6.0 or later.
2. If it is already installed, uninstall it and install it again.
3. Rebuild the project.

## Sources

- [Create and Run Local Functions in Standard Workflows](https://learn.microsoft.com/en-us/azure/logic-apps/create-run-custom-code-functions)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/azure-logic-apps/custom-code-extensionsmetadatagenerator-not-imported and the vendor documentation above.
