-
Notifications
You must be signed in to change notification settings - Fork 67
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
SDK 4.1.3 and Microsoft.Azure.WebJobs.Extensions.Http 3.2 breaks #589
Comments
I have the same problem, got it solved locally by updating Azure Functions Core Tools Same problem in reported to stackoverflow 2 months ago Could this be the root cause for this error? #695 |
@JonasJes We will check this issue with our next level team and update you. |
@kshyju yes. the latest (AFAIK). I also installed them separate from VS. Azure Functions Core Tools |
@tbasallo I could not repro this when I created a new in-proc dotnet 6 http function app. I upgraded my Microsoft.NET.Sdk.Functions package to 4.1.3 and Microsoft.Azure.WebJobs.Extensions.Http is 3.2.0, did F5 debugging on Visual studio and can see everything working as expected. I am using VS 2022 17.3.6, which is the latest stable as of today. Do you see the same core tools version numbers when you do F5 on Visual studio? Or are you running the app in another way? |
@kshyju Have you tried Dockerizing it and then running it? |
Yes, I do not see any issues with running it in docker. If you are experiencing issues, please open a new issue so we can discuss the details there. Thanks! |
If I create an Azure Function project, and then run as is, it'll work, but if I go to Mange NuGet Packages and update to latest version available it'll fail to run, without any code changes, what am I missing here? You can see all my steps on attached video. Cloud.PC.Enterprise.4vCPU_16GB_512GB.2022-10-19.11-02-48_Trim.mp4 |
@lgp1985 Can you change the package source to "nuget.org" when upgrading the package to 4.1.3 and see what happens? |
Like this @kshyju ? Cloud.PC.Enterprise.4vCPU_16GB_512GB.2022-10-19.15-16-09_Trim.mp4 |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
@lgp1985 Can you share a minimal repro with us? A Github repo will be great. Thanks! |
hmm...I've updated a few projects and haven't had any issues. However, the tools did update: Maybe that's why which matches @kshyju |
Here's a repo https://github.com/lgp1985/defect-v4.1.3-azure-functions-vs-build-sdk with both failing and working projects under the same solution. Worth mentioning the issue is only reproducible in Windows 10, I provided some details on VS2022 and Windows version of an environment in which it works, and another that fails. I can confirm other 3 developers have faced the same issue under Windows 10. |
What fixed it for me was |
Hi @KevinAble, Cloud.PC.Enterprise.4vCPU_16GB_512GB.2022-11-01.17-48-26.mp4 |
Updating the Microsoft.NET.Sdk.Functions to 4.1.3 and uipdating Microsoft.Azure.WebJobs.Extensions.Http to which is requieed, causes for the runtime (locally) to not find it and error with "Could not load file or assembly Microsoft.Azure.WebJobs.Extensions.Http 3.2.0"
Downgrading to 4.1.1 and Http 3.0.12 works.
The text was updated successfully, but these errors were encountered: