-
Notifications
You must be signed in to change notification settings - Fork 447
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
Debug startup fails "no Functions runtime available" #5239
Comments
I have gotten this issue today. What could of happened between today and yesterday for it to break like this ? |
I've also started having this issue this morning. |
I have the same issue. When I hit F5, I now get presented this error: The important point here is that, as with the other commenters, this issue started happening today. Everything was fine yesterday. I tried upgrading to latest VS (16.3.7->16.3.9) and updated to the latest tools:
and that did not resolve the issue. |
here is a temporary solution for the people in this thread. Add a dubug config with the instructions from this comment #5145 (comment) |
@jdaaboul, @david-peden-q2 and @Francisco-Gamino, you need to use VS2019 preview 4. Download that. It will fix the problem with Azure Function v3-preview, and .net core 3.0. |
I am also facing same issue from yesterday |
I have downloaded preview 4.0 and I'm still getting the issue. |
@jamyspex I installed Preview 5 and my functions work again. https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-preview#16.4.0-pre.5.0 Thank you @Shrn-Prmshr! |
Updating to Preview 5 hasn't worked for me unfortunately. |
It seems this is not a new issue, and you can find the old reported issue here. I have tried all of the suggested solutions but no success.
In my case, I use v3-preview and .Net core 3.0. and I use FunctionsStartup to resolve DI.
It was working until this morning and it put me in a complicated position. why?
I get
<ItemGroup> <PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.0.0" /> <PackageReference Include="Microsoft.Azure.WebJobs" Version="3.0.14" /> <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="3.0.4" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.0.0" /> <PackageReference Include="Microsoft.NET.Sdk.Functions" Version="1.0.30-beta2" /> <PackageReference Include="StructureMap.Microsoft.DependencyInjection" Version="2.0.0" /> </ItemGroup>
I have built the whole of this solution with .Net Core 3.0 and Azure function v2 is not compatible with that at all. so I can not just create a V2. it takes more than the time that I have to rebuild all .net core 2.x
Azure Function V2, has this issue Functions ≥1.0.24 not comptabile with up to date Newtonsoft.Json 12.x #4049,
Now, I need a proper answer. how should I fix my problem? Can I trust this v3-preview?
Until yesterday everything was fine.
The text was updated successfully, but these errors were encountered: