Skip to content

DynamicExpressionParser.ParseLambda() Not working on Android #910

@ErickMVI

Description

@ErickMVI

Hello! I had a quick question of the System.Linq.Dynamic.Core.DynamicExpressionParser Class specifically for Android platforms. When calling the
DynamicExpressionParser.ParseLambda() function it throws a System.IOException on Android devices. I skimmed through the source code and found out that it calls DefaultAssemblyHelper.GetAssemblies() which uses Directory.GetFiles(AppDomain.CurrentDomain.BaseDirectory, "*.dll")

However, AppDomain.CurrentDomain.BaseDirectory is just a "/" on Android devices which causes the exception.

Is there any workaround for this? Thank you for your time!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions