Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run functions any more in VisualStudio 17.12.1 #2892

Open
rwb196884 opened this issue Dec 10, 2024 · 2 comments
Open

Cannot run functions any more in VisualStudio 17.12.1 #2892

rwb196884 opened this issue Dec 10, 2024 · 2 comments
Labels
Needs: Author Feedback potential-bug Items opened using the bug report template, not yet triaged and confirmed as a bug

Comments

@rwb196884
Copy link

Description

I have an Azure Functions project that was working.

I updated VisualStudio to get .net9 and now it won't run any more when I click the 'play' button.

It says: System.InvalidOperationException: 'Configuration is missing the 'HostEndpoint' information. Please ensure an entry with the key 'Functions:Worker:HostEndpoint' is present in your configuration.'

Is there a fix for this?

Steps to reproduce

Open previously working Azure Functions solution.
Click play.

@rwb196884 rwb196884 added the potential-bug Items opened using the bug report template, not yet triaged and confirmed as a bug label Dec 10, 2024
@rwb196884
Copy link
Author

Example: CannotRunAzureFunctions.zip

@kshyju
Copy link
Member

kshyju commented Dec 11, 2024

I downloaded your sample project and successfully ran it in F5 debug mode after adding a local.settings.json file to the project root. For reference, I'm using Visual Studio version 17.12.3.

Image

When you try, what version of core tools and functions runtime are you seeing in your terminal? I have 4.0.6610 as core tools version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback potential-bug Items opened using the bug report template, not yet triaged and confirmed as a bug
Projects
None yet
Development

No branches or pull requests

2 participants