-
Notifications
You must be signed in to change notification settings - Fork 441
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
[v1] Build Hangs in ExtensionsMetadataGenerator #8401
Comments
This also affects references to https://github.com/microsoft/PowerPlatform-DataverseServiceClient |
There hasn't been a release of Microsoft.NET.Sdk.Functions 1.x since 2023, so I'm not sure how this could've been resolved? We're still using 1.0.37 |
I am experiencing this. I have a .NET 8 Function App using 4.X that is in the same solution as an ASP.NET Web API (.NET Framework) project. It seems like the metadata generates on the binaries of the entire solution, not just those applicable in .NET 8: The ExtensionsMetadataGenerator then causes a stack overflow. Build log
|
Consider the following project file:
Attempting to build this project file will never complete.
From a DevOps pipeline this manifests as
The profiler indicates getting stuck in Mono.Cecil:
The previous version of
Microsoft.NET.Sdk.Functions
, version 1.0.37, completely imperceptibly quickly. Version 1.0.38 switched toMono.Cecil
(PR #6052), which seems like the likely culprit.Presumably there's something in
PnP.Framework
that the generator doesn't like, but I couldn't spot it.All the way back to
PnP.Framework
1.0 triggers this issue, but the last version of the predecessor package,SharePointPnPCoreOnline
(3.28.2012), does not.Tested in Visual Studio 2022 Version 17.2.1.
The text was updated successfully, but these errors were encountered: