-
Notifications
You must be signed in to change notification settings - Fork 18
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
Remove _FunctionsSkipCleanOutput after it is no longer needed #27
Comments
DON'T REMOVE THIS until you've fixed this: |
My current understanding of the issue it that Azure Function build tools will remove assemblies (.dll files) that have the same name of those that are also used by the functions run-time. This is done as an optimization. Unfortunately, assemblies are removed even if they are newer versions. The The new A There is a list of assemblies that the functions run-time uses. That list is maintained at: A dev/devops team might decide between skip cleanout and preserving specific assemblies base on the amount of efficiency they desired in the run-time environments for their function app.
|
It looks like the The "Configure your build output settings" section, where it was mentioned, has been removed. Sad. Currently, as far as I can tell, both the |
I'm closing this issue. It seems that the use of either |
I wrote a blog post: _FunctionsSkipCleanOutput and FunctionsPreservedDependencies. Since there are no official docs, it at least captures what I've learned about resolving "Could not load file or assembly" errors in in-process Azure Functions. |
Want to add that in my Azure function v3 under netcore 3.1, having references to other net472 projects, my entity framework completely blew itself up. Every single entity that had [Key] data annotation remapping from default "built-in" one was causing runtime errors.
After removing |
Remove the following line from the
SampleFunctionApp.csproj
file once that workaround is no longer needed.That project property was added as a workaround related to upgrading the NuGet packages in the solution.
See issue #24 and PR #25.
The
_FunctionsSkipCleanOutput
project property is not (currently) documented. But it is, "completely safe and will continue to be supported", according to:Azure/azure-functions-vs-build-sdk#397 (comment)
It is not yet clear when the
_FunctionsSkipCleanOutput
project property will no longer be needed.The text was updated successfully, but these errors were encountered: