Skip to content

VS Code startup error: Failed to get latest templates: Cannot read properties of undefined (reading 'resources') #4646

@hhubik

Description

@hhubik

When I open VS Code on an existing C# project, I get the following error in the Output window from Azure Functions:

Failed to get latest templates: Cannot read properties of undefined (reading 'resources')

This particular C# project was last worked on more than a year ago. At that time, there was no error.

Extension Version: 1.18.1

About VS Code output:

Version: 1.103.0 (user setup)
Commit: e3550cfac4b63ca4eafca7b601f0d2885817fd1f
Date: 2025-08-06T21:40:10.271Z
Electron: 37.2.3
ElectronBuildId: 12035395
Chromium: 138.0.7204.100
Node.js: 22.17.0
V8: 13.8.500258-electron.0
OS: Windows_NT x64 10.0.26100

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