`func new` breaking for .NET Isolated
See original GitHub issueOn multiple recent versions (tested on Windows and WSL), the basic project setup for .NET Isolated will fail.
func init --worker-runtime "dotnet-isolated" --target-framework "net7.0"
func new --name "DotNet7Function" --template "HTTP trigger"
will yield
Restore failed.
Post action failed.
The function "DotNet7Fucntion" was created successfully from the "HTTP trigger" template.
with the first two lines as error statements.
The appropriate .NET SDKs and runtimes are available in the test environments. A dotnet restore
works just fine.
Issue Analytics
- State:
- Created 9 months ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Guide for running C# Azure Functions in an isolated worker ...
Learn how to use a .NET isolated worker process to run your C# functions in Azure, which supports non-LTS versions of .NET and...
Read more >Containerised Azure function (v4, dotnet-isolated) breaks ...
I'm trying to build an Azure function to run as a Linux container image in an isolated process using .NET 6 and v4...
Read more >Create an Azure Function .NET in the isolated worker model
This article will review how to create your first Azure Function .Net isolated. Introduction. The .NET Worker provides .NET 5 support in Azure...
Read more >Migrating to Isolated Durable Functions
NET 7 to use Durable Functions in an isolated model function app. ... for Azure Functions, my recommendation would be to create any...
Read more >Microsoft Details Sneak-Peek Preview of Azure Functions ...
NET 5.0 isolated process Azure Functions apps. Now, with the ground-breaking and unifying .NET 6 LTS release coming up in November, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am seeing a slightly different issue; as suggested I ignore the ‘restore failed, post action failed’ and go ahead to build the project and it explodes; seems to be specific to
--worker-runtime dotNetIsolated
as--worker-runtime dotNet
worksBroken
Working
@fabiocav @soninaren
I’ve just verifed the issue is in the template.