Skip to content

Package FluentEmail.Liquid conflicts with Elsa #330

@montoner0

Description

@montoner0

FluentEmail.Liquid/3.0.2 nuget package conflicts with Elsa/2.7.0 package (both use Fluid library).

As soon as I'm referencing Elsa package in a project, FluentEmail is failing

System.Runtime.InteropServices.ExternalException (0xFFFFFFFF): System.TypeLoadException: Could not load type 'Fluid.BaseFluidTemplate`1' from assembly 'Fluid, Version=0.0.0.0, Culture=neutral, PublicKeyToken=51cdb8c1938e4789'.
   at FluentEmail.Liquid.LiquidRenderer.ParseAsync[T](String template, T model, Boolean isHtml)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at FluentEmail.Liquid.LiquidRenderer.ParseAsync[T](String template, T model, Boolean isHtml)
   at FluentEmail.Liquid.LiquidRenderer.Parse[T](String template, T model, Boolean isHtml)
   at FluentEmail.Core.Email.UsingTemplate[T](String template, T model, Boolean isHtml)

Probably, version referencing for Fluid.Core (>= 1.0.0) isn't quite correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions