[英]Azure Functions(.net core 3+) - Getting “Entry point was not found” error when trying to access HttpRequest.Query
I started encountering this issue about 3 days ago after an update that I randomly clicked on when I was in Visual Studio Code.大约 3 天前,我在 Visual Studio Code 中随机单击更新后开始遇到此问题。 Whenever I try to access HttpRequest.Query from the Microsoft.AspNetCore.Http namespace, I get an the following error message: "Entry Point was not found".
每当我尝试从 Microsoft.AspNetCore.Http 命名空间访问 HttpRequest.Query 时,都会收到以下错误消息:“找不到入口点”。
I have not been unable to fix this and this has interrupted my ability to work.我一直无法解决这个问题,这打断了我的工作能力。 I've talked this over with my teammates, and they are not encountering this issue at all.
我已经和我的队友讨论过这个问题,他们根本没有遇到这个问题。
I've tried pretty much everything I could google and think of.我已经尝试了几乎所有可以谷歌搜索和想到的东西。
At this point, I'm not even sure what's really wrong any more.在这一点上,我什至不确定到底出了什么问题。 I found a post with my EXACT SAME issue, but the way the person fixed it did not apply to me:
我发现了一个与我完全相同的问题的帖子,但该人修复它的方式不适用于我:
Azure Functions.NetCore 3.0 Request.Query throwing "Entry point not found" error Azure Functions.NetCore 3.0 Request.Query 抛出“找不到入口点”错误
Some Info- may or may not be useful.有些信息可能有用也可能没用。
When I go through the code step by step in the debugger, HttpRequest.Query shows up properly with all of the keys.当我在调试器中逐步通过代码 go 时,HttpRequest.Query 正确显示所有键。 I'm wondering if there is some kind of name conflict between HttpRequest object from Microsoft.AspNetCore.Http vs System.Web
我想知道来自 Microsoft.AspNetCore.Http 的 HttpRequest object 与 System.Web 之间是否存在某种名称冲突
If I set my project to use the most recent version of Microsoft.NET.Sdk.Functions, I get a new error instead of an entry point error, I get this instead:如果我将我的项目设置为使用最新版本的 Microsoft.NET.Sdk.Functions,我会收到一个新错误而不是入口点错误,而是会收到以下信息:
I'm using Visual studio Code.我正在使用 Visual Studio 代码。
Can anyone assist?有人可以帮忙吗? I'd be happy to provide any information needed!
我很乐意提供所需的任何信息!
I gave up.我放弃。 I spent about 3 days trying to solve this and this was affecting my ability to work.
我花了大约 3 天的时间试图解决这个问题,这影响了我的工作能力。 I just had my entire laptop reformatted and that "fixed" the issue.
我刚刚重新格式化了我的整个笔记本电脑并“解决”了这个问题。 I tried pretty much everything I could find and nothing worked and I couldn't wait any more.
我尝试了几乎所有我能找到的东西,但没有任何效果,我不能再等了。 Best of luck to anyone who encounters this!
祝遇到这种情况的人好运!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.