Error after updating Azure Functions Core Tools to version 4.0.6594

Navaneeth Keshavamurthy 30 Reputation points
2024-11-13T23:23:07.39+00:00

4.0.6594

[INFO] Azure Functions Core Tools found.

Azure Functions Core Tools

Core Tools Version: 4.0.6594 Commit hash: N/A +48490a7ee744ed435fdce62f5e1f2f39c61c5309 (64-bit)

Function Runtime Version: 4.1036.1.23224

Could not load file or assembly 'Microsoft.Azure.WebJobs.Script.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3c5b9424214e8f8c'. The system cannot find the file specified.

[ERROR]

[ERROR] Failed to run Azure Functions. Please checkout console output.

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,932 questions
0 comments No comments
{count} vote

Accepted answer
  1. LeelaRajeshSayana-MSFT 17,766 Reputation points Moderator
    2024-11-14T00:42:35.0366667+00:00

    Hi @Navaneeth Keshavamurthy Greetings! Welcome to Microsoft Q&A forum. Thank you for posting this question here.

    The issue could most likely be caused by some versioning conflicts in the system after the update. Try reinstalling Azure Functions Core Tools to ensure that all components are correctly installed. You can uninstall and reinstall the tools using the following commands:

    npm uninstall -g azure-functions-core-tools
    npm install -g azure-functions-core-tools@4 --unsafe-perm true
    
    
    

    Close out the VS Code or the IDE you are using and relaunch it. This should resolve the issue.

    If you continue to face any issues even after trying the above steps, please let us know in the comments below and we would be glad to assist you further.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Mike Hartman 0 Reputation points
    2024-12-17T21:32:42.7733333+00:00

    The exact same error will still occur after getting the latest azure function tools and if your on net 8 and have not upgrades to isolated process mode. You must add the following setting in you local.settings.json file or to your app in azure: "FUNCTIONS_INPROC_NET8_ENABLED": "1",

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.