Azure / azure-functions-dotnet-worker

Azure Functions out-of-process .NET language worker
MIT License
429 stars 184 forks source link

SignalRService crashes with "Could not load file or assembly 'System.Memory.Data, Version=6.0.0.0" #2833

Open pingu2k4 opened 1 week ago

pingu2k4 commented 1 week ago

Description

Everything compiles fine, and runs fine. But the moment you trigger something with a SignalROutput binding, you will see the error claiming it cannot find System.Memory.Data.

Running it again from this point will crash the functions host on startup with the same error.

Highly linked to Azure/azure-functions-host#10575, however as this is the repo specific for Microsoft.Azure.Functions.Worker.Extensions.SignalRService I figured an issue should represent it here too.

This effects 1.15.0, whereas 1.14.1 works.

I have tried all the common workarounds, like adding <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput> to the csproj, and in this instance none of them resolve the issue. Only reverting to 1.14.1.

Steps to reproduce

fabiocav commented 6 days ago

Thank you for the report here, @pingu2k4. I have updated the original issue on the host side and we're working to delist the impacted packages while the root cause is addressed.

Will keep this issue open while those changes are in progress.

In the meantime, downgrading the extension reference should address what you're seeing.

Thanks again for the report and patience with this.