microsoft / microsoft/RulesEngine

Exception during execution in UWP project

Open
#487 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
4.4k
Forks
616
Avg merge
6m
Merged PRs (30d)
2

Description

System.TypeLoadException: 'Could not load type 'System.Linq.Dynamic.Core.DynamicClassFactory' from assembly 'System.Linq.Dynamic.Core, Version=1.2.18.0, Culture=neutral, PublicKeyToken=0f07ec44de6ac832'.'

at RulesEngine.HelperFunctions.Utils.CreateAbstractClassType(Object input)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at RulesEngine.HelperFunctions.Utils.GetTypedObject(Object input)
at RulesEngine.RulesEngine.d__10.MoveNext()
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the exception in the UWP project and trace the calls through RulesEngine.HelperFunctions.Utils.CreateAbstractClassType, GetTypedObject, and RulesEngine.ExecuteAllRulesAsync. Inspect how the referenced System.Linq.Dynamic.Core 1.2.18.0 assembly is loaded and verify that the UWP execution path completes without the TypeLoadException.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.