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

Build hangs with Microsoft.NET.Sdk.Functions version 4.1.3 #8843 #591

Open
michaelelleby opened this issue Oct 13, 2022 · 7 comments
Open

Comments

@michaelelleby
Copy link

When building the solution in VS 2019 and VS 2022, the build just hangs.

When I run dotnet build -v d in the console, I see it gets stuck at the target _GenerateFunctionsExtensionsMetadataPostBuild

This is with .NET Framework 4.7.1 and upgrading to .NET 6 is not an option.

Log file from dotnet build build.log

I have created a tiny repo https://github.com/michaelelleby/functionappbug to demonstrate the bug.

@ramya894 ramya894 self-assigned this Oct 17, 2022
@ramya894
Copy link

@michaelelleby We are investigating the issue and update you the findings soon.

@ramya894
Copy link

@soninaren Could you please have a look into the above issue.

@ramya894
Copy link

ramya894 commented Nov 2, 2022

@soninaren Can you please share your thoughts here.

@fowl2
Copy link

fowl2 commented Jan 18, 2023

possibly related to Azure/azure-functions-host#8401 and/or Azure/Azure-Functions#2108

@vivlimmsft
Copy link

I hit an issue like this, do you have the COREHOST_TRACE environment variable set? #604

@ngoquoc
Copy link

ngoquoc commented Apr 19, 2023

I had a similar issue, but with .NET 6 target, and .NET 7 SDK. Downgrading Microsoft.NET.Sdk.Functions from 4.1.3 to 4.0.1 helps.

@Becold
Copy link

Becold commented Apr 27, 2023

I closed my Visual Studio 2022.. and started it again as an administrator. It worked for me. Hope this helps someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants