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

Detect if assembly couldn't be loaded because it was trimmed from build output #6650

Open
anthonychu opened this issue Sep 15, 2020 · 3 comments

Comments

@anthonychu
Copy link
Member

Point customer to the proper way to resolve this, including possibly adding <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput> to csproj. #5894

@jmknight2
Copy link

I want to quickly add to this, that this issue exists not only in C# based projects but in PowerShell as well. I'm currently facing this issue in a PowerShell project, and I don't have a .csproj file that I can edit to use the workaround.

@jordanbean-msft
Copy link

I also have this issue with running the Teams cmdlets in an Azure Function and need to know how to specify these flags since there is no csproj file in PowerShell

@gibazza
Copy link

gibazza commented Aug 23, 2023

I am seeing this issue as well with the ExchangeOnlineManagement cmdlets which is producing the Could not load file or assembly 'Microsoft.OData.Core, Version=7.9.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. error in the Azure Function. This is a PowerShell function so no csproj!

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

5 participants