Skip to content

v2.0.0 not working In my local avalonia project #102

@YoshihiroIto

Description

@YoshihiroIto

Describe the bug

In my local Avalonia project, after updating the following NuGet packages:

  • TextMateSharp
  • TextMateSharp.Grammars
    from v1.0.70 to v2.0.0, the application stopped working and the exception below is thrown.
System.TypeLoadException: Method 'GetLineText' in type 'AvaloniaEdit.TextMate.TextEditorModel' from assembly 'AvaloniaEdit.TextMate, Version=11.3.0.0, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b' does not have an implementation.
   at AvaloniaEdit.TextMate.TextMate.Installation.SetTheme(IRawTheme theme)
   at AvaloniaEdit.TextMate.TextMate.Installation.SetTheme(IRawTheme theme)
   at AvaloniaEdit.TextMate.TextMate.Installation..ctor(TextEditor editor, IRegistryOptions registryOptions, Boolean initCurrentDocument)
   at AvaloniaEdit.TextMate.TextMate.InstallTextMate(TextEditor editor, IRegistryOptions registryOptions, Boolean initCurrentDocument)

Desktop (please complete the following information):

  • OS:Windows
  • Version 11

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