Skip to content

Azure Functions project fails to run in VS Code, but works in Visual Studio. #4764

@heeyahnuh

Description

@heeyahnuh

When attempting to start a newly created C# (tried 8.0 and 9.0) Azure Functions project in VS Code, the process stops with a dependency loading error. The same project launches and runs correctly when opened in Visual Studio.
Could not load file or assembly 'Microsoft.Extensions.Logging, Version=8.0.0.0...'

Image

My setup:
VScode: Version: 1.105.1 (system setup)
function app extension: 1.19.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions